We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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";

Live Chat Icon For mobile
Up arrow icon