Page 1 of 1

VLWeb - Children in List Item

Posted: Thu Sep 20, 2018 3:01 am
by jyoung
I am working on a list where some list items have children and some don't and I am trying to figure out the best way to handle this.
I am trying to get to something like this
list-mock.png
list-mock.png (41.8 KiB) Viewed 14363 times
I have tried using a Tree and using a TreeDesign and that worked ok, but I don't have headers for the elements and row highlighting.
I have tried using a List with a CellDesign and that worked ok, but I have to adjust the RowHeight manually and the vertical alignments look off.

I have stumbled onto the "Expand" method of ListItem
https://docs.lansa.com/14/en/lansa016/p ... expand.htm

But I don't see any examples on how to use it. Such as adding children to a list item.

Any thoughts on how to best approach this?

Joe