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
close icon

GDBG sorted by multiple columns

On this page towards the bottom:

http://www.syncfusion.com/products/grid/windows/features/DotNet_Data_Binding/Sorting.aspx

You have a screenshot of what looks like a Windows GDBG, sorting on multiple columns.

It mentions: "The sorting can also be done on the basis of multiple columns, providing a priority number for each sorting column."

I've been looking through the documentation, but haven't found how to implement this yet. I've searched the Forum and found some information on a 'GridMultiColSortHelper' class, but this doesn't seem to be the same.

Would you please point us in the right direction on how to accomplish this? We're using GDBG 4.4 with VB.Net.

Thank you.

2 Replies

AD Administrator Syncfusion Team February 21, 2007 07:02 PM UTC

Hi,

The attached sample implements the multicolumn sorting in a grid. It uses the GridMultiColSortHelper class to sort the columns. Please refer to the attached sample for more details.

Sample: http://www.syncfusion.com/Support/user/uploads/MultiColumnSort_e152b3d8.zip

Also refer to the following KB on multicolumn sorting in a GridDataBoundGrid.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=110

Best regards,
Haneef


AD Administrator Syncfusion Team February 21, 2007 07:50 PM UTC

Haneef,

This sample is working fine - thank you. Very generic which is great, so this will work well for us.

One question - are the little priority numbers in the column headers on this web page just for depicting a potential column order and are not really going to display in the column header, or are they supposed to be showing up in this sample? I just want to know if I was missing something.

Thanks again.

Loader.
Live Chat Icon For mobile
Up arrow icon