Multicolumn Sorting

Hi Team,



I want to do a multicolumn sorting in dhtmlxGrid.The scenario is, when we click on header there should pop up context box with options for select other column for sorting.Can you please help me how to do it?



Thanks,



-Agile

The technical part of sorting by multiple columns described here.
dhtmlx.com/docs/products/dhtmlxG … d_art_sort
While grid has no native API for multicolumn funtionality - custom sorting routine can be used to create such complex rules.

>>when we click on header there should pop up context box with options for select other column for sorting.
Grid provides onHeaderClick event, which can be used to catch the moment when click occurs. After that you can show any custom form to configure sorting, and call grid.sortRows with custom sorting type, after sortable columns selection.