VL-WEB - list inside a list

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
kno_dk
Posts: 219
Joined: Tue Feb 23, 2016 12:00 am

VL-WEB - list inside a list

Post by kno_dk »

Hi.

Is it possible to have a list where inside each entry there is a list. I have a list of items and now I want to show a list of spareparts which fits the item. So the list inside the list could have 0 - 999 spareparts.

I am on LANSA V14.

/Klaus
User avatar
lawingo
Posts: 78
Joined: Fri Dec 04, 2015 6:41 am

Re: VL-WEB - list inside a list

Post by lawingo »

Could you not do a Tree View? I have done a Tree List Unlevelled of Parent Parts that will load a list of Child Parts when expanded. I'll be glad to share some of the high points of making it happen if that sounds like what you need.

Best,
Chad
Sherrill Furniture Co
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: VL-WEB - list inside a list

Post by MarkD »

This shipped sample might be a good starting point.
It's a tree with a 'flat' expanable section.
If you extended that with a PRIM_LIST, you would effectively have a list within a list.
Capture.PNG
Capture.PNG (22.09 KiB) Viewed 12880 times
Personally I'd be careful to assess its performance though because its very easy to star creating 10s or 100s of thousands of visual items.
kno_dk
Posts: 219
Joined: Tue Feb 23, 2016 12:00 am

Re: VL-WEB - list inside a list

Post by kno_dk »

Hi

Thanks.

I have been down that road with the tree. If you have RP inside the entry and you have alot of info/data then you get poor performance.

I am rewriting my views so I don't have to use a tree and if not possibel then moving away from RP in these trees.

So I am looking for a way to show data in a list inside a list entry.

/Klaus
Post Reply