Alphabetical Grouping

Hi!

Is there any way to group information alphabetically, considering just the first letter ocurrences?
Something like a contact-list, grouping name by A, B, C .... and sorting them within each group?

I appreciate any tip on this.

2 Replies

DA DavidBS June 16, 2021 07:27 PM UTC

Just to help someone....


grid.Columns("Name").AllowGrouping = True
grid.GroupColumnDescriptions.Add(New GroupColumnDescription() With
{.ColumnName = "Name",
.KeySelector = Function(ColumnName As String, o As Object)
Dim item = Mid(TryCast(o, Certificados).Name, 1, 1)
Return item
End Function
})




MA Mohanram Anbukkarasu Syncfusion Team June 17, 2021 01:00 PM UTC

Hi David, 

Thanks for using Syncfusion controls.  

We are glad to know that you have found solution for your requirement. Please let us know if you require any other assistance from us.  

Regards, 
Mohanram A. 


Loader.
Up arrow icon