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.
Unfortunately, activation email could not send to your email. Please try again.

How to adjust row heights of each row based on their content

Thread ID:

Created:

Updated:

Platform:

Replies:

129530 Mar 23,2017 01:46 PM May 10,2017 11:35 PM Xamarin.Forms 13
loading
Tags: SfListView
Washington Morais
Asked On March 23, 2017 01:46 PM

Please, how can I achieve this???? 
The item size should fit to it's content automatically.


Dinesh Babu Yadav [Syncfusion]
Replied On March 24, 2017 09:12 AM

Hi Morais,  
  
Thank you for using Syncfusion products.  
  
Currently SfListView do not have support for “HasUnevenRows”. We have already considered this as feature request and implementing the feature “Automatically fit the item height based on content” and it will be available in our upcoming 2017 Volume 1 SP 2 release which is scheduled to be rolled out by end of this month. 
 
Please let us know if you require further assistance.  
  
Regards,  
Dinesh Babu Yadav  
 


Samir Asaf
Replied On April 10, 2017 08:42 AM

Still not available in  15.1451.0.37

Muthu Kumaran Gnanavinayagam [Syncfusion]
Replied On April 11, 2017 06:31 AM

Hi Samir Asaf, 
 
We regret to inform you that we have faced the Xamarin framework hurdles while implementing the reported feature “Automatically fit the item height based on content” in SfListView. So, we are unable to include the feature in our 2017 Volume 1 SP 2 release and we will assure you that the reported feature will be included in our upcoming 2017 Volume 2 main release which is scheduled to be rolled out by end of this month. We will appreciate your patience until then. 
 
Please let us know if you require further assistance. 
 
Regards, 
G.Muthu Kumaran. 


Samir Asaf
Replied On April 11, 2017 06:41 AM

Hi Samir Asaf, 
 
We regret to inform you that we have faced the Xamarin framework hurdles while implementing the reported feature “Automatically fit the item height based on content” in SfListView. So, we are unable to include the feature in our 2017 Volume 1 SP 2 release and we will assure you that the reported feature will be included in our upcoming 2017 Volume 2 main release which is scheduled to be rolled out by end of this month. We will appreciate your patience until then. 
 
Please let us know if you require further assistance. 
 
Regards, 
G.Muthu Kumaran. 


Yes, I require assistance with regard to this issue . Please take a look.

Muthu Kumaran Gnanavinayagam [Syncfusion]
Replied On April 13, 2017 02:59 AM

Hi Samir, 
 
We have already answered for the reported query in the Forum-129938, can you please follow up that forum. 
 
Regards, 
G.Muthu Kumaran. 


Samir Asaf
Replied On May 2, 2017 03:22 AM

Hi Samir Asaf, 
 
We regret to inform you that we have faced the Xamarin framework hurdles while implementing the reported feature “Automatically fit the item height based on content” in SfListView. So, we are unable to include the feature in our 2017 Volume 1 SP 2 release and we will assure you that the reported feature will be included in our upcoming 2017 Volume 2 main release which is scheduled to be rolled out by end of this month. We will appreciate your patience until then. 
 
Please let us know if you require further assistance. 
 
Regards, 
G.Muthu Kumaran. 


Hi,

Any progress on this front?
Also, will it be available for both the layouts : Linear and Grid?

Thanks

Muthu Kumaran Gnanavinayagam [Syncfusion]
Replied On May 3, 2017 11:00 AM

Hi, 
 
We are in the final phase of testing and our Volume 2 is scheduled to be rolled out by this month which includes the reported feature “Automatically fit the item height based on content” in SfListView for both Linear and Grid Layouts. 
 
Regards, 
G.Muthu Kumaran. 


Washington Morais
Replied On May 3, 2017 02:14 PM

Always "scheduled to be rolled out by this month".

Samir Asaf
Replied On May 4, 2017 04:56 AM

Hi, 
 
We are in the final phase of testing and our Volume 2 is scheduled to be rolled out by this month which includes the reported feature “Automatically fit the item height based on content” in SfListView for both Linear and Grid Layouts. 
 
Regards, 
G.Muthu Kumaran. 


Hi, 

As Washington Morais  says "Always "scheduled to be rolled out by this month".
Also, can you add dynamic height for Group Header as well, without having to explicitly specify the group header size, as the text binded to the group header is of variable length and font sizes (depending upon whether the device is a Phone or a tablet) ?

Muthu Kumaran Gnanavinayagam [Syncfusion]
Replied On May 4, 2017 11:48 PM

Hi Samir, 
  
We have considered the feature in all the cases including Dynamic Height for GroupHeader, Header and Footer which supports all the devices (Both Phone’s and Tablet’s). We assure you that the feature will be released as mentioned in our previous update. 
  
Regards, 
G.Muthu Kumaran. 


Dinesh Babu Yadav [Syncfusion]
Replied On May 10, 2017 08:39 AM

Hi Samir,  
   
Thank you for the patience.  
   
The reported feature “Automatically fit the item height based on content” has been completed and included in this release. Also, we are glad to announce that our Essential Studio Volume 2, 2017 (Version 15.2.0.40) is rolled out and is available for download under the following link.  
   
                                               
For your reference, we have attached the sample which automatically arranges the item height based on the content and you can download it from the below link.  
   
   
The following documentation illustrates you to how to use the AutoFitMode property and to customize the item size on demand in SfListView.  
   
AutoFit Items  
   
In order to dynamically adjust the size of the items, you need to define the AutoFitMode property as “Height. SfListView has two types of AutoFitMode as listed below,  
   
* Height - Autofit the item based on its content and consider the height of the item when vertical Orientation. For horizontal orientation, consider the width of the item. If GridLayout, after autofit all items in a row, it will take the maximum item height in that row and applies to all other items in the row.  
* None - SfListView items are layout by ItemSize.  
   
Customize size of an item on demand  
   
To customize the size of an item on demand, you can use the QueryItemSize event and define the size for that particular item. This event is raised whenever an item comes into view.  
   
QueryItemSize event provides the following properties in their arguments:  
   
* ItemIndex - This property helps you to identify a item based on its index in SfListView.   
* ItemData - This property helps you to identify a underlying data bounded to that item  
* ItemSize - The size of the queried item. For vertical orientation, it will be considered as item height and for horizontal orientation, it will be considered as item width.  
* ItemType - The item type of queried item.  
* Handled - This property decides whether the specified size can be set to item or not. The default value is false. When this property is not set, the decided size is not set to the item.  
   
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
   
Regards,  
Dinesh Babu Yadav  
 


Washington Morais
Replied On May 10, 2017 08:42 AM

Guys, awesome changes in the sfListView.
Great job.

Dinesh Babu Yadav [Syncfusion]
Replied On May 10, 2017 11:35 PM

Hi Washington, 
 
Thanks for the update. 
 
Regards, 
Dinesh Babu Yadav 


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.

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.

;