Hello,
Then I tried to group data with one of its column using :
<syncfusion:SfListView.DataSource>
<dataSource:DataSource>
<dataSource:DataSource.GroupDescriptors>
<dataSource:GroupDescriptor PropertyName="ContactType">
<dataSource:GroupDescriptor.Comparer>
<local:CustomGroupComparer/>
</dataSource:GroupDescriptor.Comparer>
</dataSource:GroupDescriptor>
</dataSource:DataSource.GroupDescriptors>
</dataSource:DataSource>
</syncfusion:SfListView.DataSource>
</syncfusion:SfListView>
The code above doesn't work. I also tried
<dataSource:GroupDescriptor PropertyName="{Binding ItemArray[0]}">
This also doesn't work. The app throwed Object reference not set to an instance of an object exception
If the DataSource is a IEnumerable then the grouping works fine.
Please advise how to correctly identify the Column Name for grouping when DataSource is a DataTable?
Thank You.