Numbered child list

Hello!

While it's quite easy to add a list of child concepts to an editor I have not quite figured out how to turn that list into an enumeration like this one:

1. First Child
2. Second Child
3. Third Child

I do not want to have the child's editor add the number to the cell (since that might not always be desired). So I guess the parent's editor has to manually loop over the child collection and add a number to each row.

Any hints?

Thanks,

Christian
2 comments
Hi,

you can take advantage of the "read only access " in an editor declaration. Add it, just like a "constant" in the editor. There you can access the index of the child - relativ to parents collection - with the "child".index field...

Dan
0
Hi, Dan!

Thanks for the quick reply. I will give it try.

Christian
0

Please sign in to leave a comment.