ASPxGridView Screencast: Custom Sorting

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.

1 comment(s)
dacsd

ok

23 December, 2007

Please login or register to post comments.