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

Dynamic GroupHeaderSize

The listview control hasGroupHeaderSize property for group header size but in my case some of the groups are taller and some of them are shorter. Is there a way to changeGroupHeaderSize per group ?

3 Replies

GP Gnana Priya Namasivayam Syncfusion Team March 7, 2019 06:43 PM UTC

Hi Giorgi, 
 
Thanks for using Syncfusion support. 
 
We would like to let you know that you can set AutofitMode as Height to SfListview in order to set height of an item based on its content. There is no need to set GroupHeaderSize manually for each group header manually. Please refer our documentation link to know more about Autofit items from following. 
 
 
Regards, 
Gnana Priya N 



GD Giorgi Dalakishvili March 7, 2019 06:53 PM UTC

Thank you, it works as expected
x (x)


DY Deivaselvan Y Syncfusion Team March 8, 2019 07:04 AM UTC

Hi Giorgi,

We are happy to hear that the given solution resolves your requirement. Please let us know if you need any further assistance.

Regards,
Deivaselvan
 


Loader.
Live Chat Icon For mobile
Up arrow icon