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

Is it possible to use linear layout for a set of grouped items and grid layout for another set of grouped items in a single Listview

I have a listview with 2 types of items in the ItemSource. The Items are grouped based on the their type under 2 headers. I use a grid layout for the Layout Manager property. Is it possible to use a linear layout for the 1st group of items and a grid layout for the 2nd group of items. Or is there any other way to achieve this?


1 Reply

DB Dinesh Babu Yadav Syncfusion Team April 24, 2019 05:47 AM UTC

Hi Thiru, 
Thanks for contacting Syncfusion support. 
We would like to inform you that LayoutManager cannot be applied based on ViewCell and it is common for all templates loaded inside SfListView. We regret to inform you that your requirement to apply different LayoutManager for different groups cannot be achieved in SfListView. But you can use default StackLayout and Grid inside your DataTemplate to customize the view based on your requirement. Please let us know if you need any further assistance. 
Dinesh Babu Yadav 

Live Chat Icon For mobile
Up arrow icon