The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have an arraylist of structs. They use a custom
table style to be displayed on my DataGrid. I
cannot figure out how to get the little triangles
to appear to allow for custom sorting.
CBClay Burch Syncfusion Team May 1, 2002 08:03 PM UTC
The default sorting is done through a DataView which requires a DataTable. If you have just set your grid's DataSource to ArrayList, then there is no DataTable and hence no DataTable.
One solution would be to move your ArrayList into a DataTable, and bind that or a DataView based on it to your grid. Then the AllowSorting property of teh TableStyle would probably get you going on sorting.
Clay Burch