how to create RadListView dinamically

1 Answer 85 Views
ListView
Laurent
Top achievements
Rank 1
Laurent asked on 09 Nov 2021, 01:46 PM

I want to be able to create the 'groups' and in each group the 'items' dynamically based on a temp-table like: *def temp-table ttListfield ttList.groups as charfield ttList.items as charindex Gpr is primary unique groups items.For each ttList by groups by items: .......end. 

 

Thank you for your repons

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Nov 2021, 06:14 AM
Hello, Laurent,

RadListView supports custom grouping which I believe would be suitable for your case. It is possible to add the ListViewDataItems, then define the desired ListViewDataItemGroups and specify the Group for each data item. A sample approach is demonstrated in the following help article:
https://docs.telerik.com/devtools/winforms/controls/listview/features/grouping 
Please give this approach a try and see how it works on your end. 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ListView
Asked by
Laurent
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or