I'm trying to convert my application to go from the standard ListView to the SfListView, which has been pretty easy and a good experience up until this point, but I'm having a hard time trying to comprehend how the grouping works in the SfListView compared to the standard ListView, even after thoroughly reading the documentation, as the SfListView grouping implementation sadly seems quite a lot different from the standard ListView.
This is a simplified barebones version of my old grouping implementation using the standard ListView:
This will take my complete list of fines from my FineRepository and apply some logic to determine which fines have been paid and which haven't and then split them into a "Pending" and "Completed" group, which will both be stored in my GroupedFinesList, which will be used as the ItemsSource for my ListView to create my grouped ListView.
How do I achieve the same thing using the SfListView?
EDIT: For some reason the editor keeps removing the first 2 characters on some of the tags in the View portion of this post.
JNJayaleshwari N Syncfusion Team February 25, 2019 03:57 AM
Thanks for contacting Syncfusion Support.
We have checked the reported query “Standard ListView grouping to SfListView grouping?” from our side. We would like to let you know that SfListView has inbuilt support to group the data based on the model property using DataSource(non UI component). The groups will be created based on the number of group descriptors added to “GroupDescriptors” property. We regret to let you know that the predefined group in ItemsSource is not supported with SfListView as like you done with Xamarin.Forms ListView.
You can refer the following user guide documentation to know about the grouping in SfListView.