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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Dynamic GroupHeaderSize

Thread ID:

Created:

Updated:

Platform:

Replies:

143151 Mar 6,2019 03:31 PM UTC Mar 8,2019 07:04 AM UTC Xamarin.Forms 3
loading
Tags: SfListView
Giorgi Dalakishvili
Asked On March 6, 2019 03:31 PM UTC

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 ?

Gnana Priya Namasivayam [Syncfusion]
Replied On 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 


Giorgi Dalakishvili
Replied On March 7, 2019 06:53 PM UTC

Thank you, it works as expected
x (x)

Deivaselvan Y [Syncfusion]
Replied On 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
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;