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

Custom Item Sizes

Can each item have a different size, I have several templates, and each template needs to be a different size.

12 Replies

DB Dinesh Babu Yadav Syncfusion Team February 16, 2017 08:38 AM UTC

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



JA Jason March 9, 2017 06:58 PM UTC

Any news on this feature, is this still to scheduled to be released this month? I have been waiting on this one feature and just need to know if it is still on the way

Regards
Jason


DB Dinesh Babu Yadav Syncfusion Team March 10, 2017 04:18 AM UTC

Hi Jason, 
 
Currently, we are working on the reported feature “Automatically fit the item height based on content” and it will be included in our upcoming 2017 Volume 1 SP 2 release which is scheduled to be rolled by end of this month. We will let you know once the release has been rolled out. We will appreciate your patience until then. 
 
Regards, 
Dinesh Babu Yadav 
 



WM Washington Morais March 23, 2017 06:27 PM UTC

Please, tell me this will be released in this month.


DB Dinesh Babu Yadav Syncfusion Team March 24, 2017 01:13 PM UTC

Hi Morais, 
 
We are implementing the reported feature “Automatically fit the item height based on content” and it will be included in the 2017 Volume 1 SP 2 release which is scheduled to be rolled out by end of this month and we will let you know once the release has been rolled out. 
 
Regards, 
Dinesh Babu Yadav 
 



WM Washington Morais March 30, 2017 11:41 AM UTC

I have installed the latest version but the row still does not fit to it's content.


MK Muthu Kumaran Gnanavinayagam Syncfusion Team March 31, 2017 06:15 AM UTC

Hi Morais, 
 
Sorry for the inconvenience caused. 
 
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 by end of April month. We will appreciate your patience until then.  
  
Please let us know if you require further assistance.  
 
Regards, 
G.Muthu Kumaran. 



VS Valeriano Simeone May 1, 2017 08:24 AM UTC

Hi,
Any news on this feature?
Thanks.


MK Muthu Kumaran Gnanavinayagam Syncfusion Team May 2, 2017 10:22 AM UTC

Hi, 
 
We are in the final phase of testing and our Volume 2 is scheduled to be rolled out by this month. 
 
Regards, 
G.Muthu Kumaran. 



DB Dinesh Babu Yadav Syncfusion Team May 10, 2017 12:32 PM UTC

Hi Valeriano,  
   
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  
 



VS Valeriano Simeone May 15, 2017 08:34 AM UTC

Thanks,
i will try it.

Regards,
Valeriano.


DB Dinesh Babu Yadav Syncfusion Team May 16, 2017 04:04 AM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon