We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Listview with a specific number of visible items per group in collapse state


We want to know if we can achieve the following scenario.

We need to display a listview where in each group appears a specific number of visible items in a collapse state, let's says 2 or 3, and them we could expand the group as normal and show all the item and again when we collapse the group show a minimum a number of items.

Also, can we sort those groups by another column different than the group column.


Arsenio Guzman

1 Reply

DB Dinesh Babu Yadav Syncfusion Team July 25, 2019 03:38 PM UTC

Hi Arsenio, 
Thank you for contacting Syncfusion support. 
We have checked the reported query “Listview with a specific number of visible items per group in collapse state” from our side. We would like to inform you that we can’t able to achieve your requirement. Instead of it, you can load different templates for each group based on the IsExpand property. For your reference, we have prepared the sample in which different templates has been loaded whenever expand and collapse the group header item, please find the sample from below link.  
You can also sort those items by binding the key value in SortDescriptor property. For further information, please refer the user guide link. 
Please let us know if you have any concern. 
Dinesh Babu Yadav 

Live Chat Icon For mobile
Up arrow icon