GridDataBound Column support Multi-sort?

if support,how to do?

1 Reply

AD Administrator Syncfusion Team August 6, 2003 07:25 AM UTC

There is no UI for multicolumn sorts, but if your GridDataBoundGrid's DataSource is a DataTable, you can use the Sort property of DataTable's DefaultView to sort by multiple columns. DataTable dt = (DataTable) grid.DataSource; dt.DefaultView.Sort = "State, ZipCode DESC";

Loader.
Up arrow icon