Page 1 of 1

VL-WEB - list inside a list

Posted: Sun Aug 16, 2020 5:01 am
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

Re: VL-WEB - list inside a list

Posted: Tue Aug 18, 2020 6:55 am
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

Re: VL-WEB - list inside a list

Posted: Tue Aug 18, 2020 10:18 am
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 12881 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.

Re: VL-WEB - list inside a list

Posted: Thu Aug 20, 2020 6:26 pm
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