VLWeb - Children in List Item

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jyoung
Posts: 653
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

VLWeb - Children in List Item

Post by jyoung » Thu Sep 20, 2018 3:01 am

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 3753 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

Post Reply