ASPxGridView Screencast: Custom Sorting

ASP.NET Team Blog
05 December 2007

The ASPxGridView let's you define custom sorting for the columns by using your own sorting algorithm. This allows you complete control over how sorting is implemented. Say you want to sort by the length of the characters rather than the alphabetical or numerical value. In this scenario, you only need to set one property and handle one method. And in the screencast below, that's exactly what you'll learn how to do. Sort one column using the character length while the other columns will use the default sorting.

image

You can see the code used in the screencast at the online help topic: ASPxGridView.CustomColumnSort Event

Thanks and let me know what types of custom sorts you use.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.