Categories | Question details Back To List | ||
Trying to sort by two column index I want to sort by the 0 th column first and then by the 3 rd column index. dataSourceGrid.sortRows(3,"str","asc"); dataSourceGrid.sortRows(0,"str","asc"); However this is not working for me . Answer posted by Alex (support) on Aug 10, 2009 06:52 You need to enable "stable sorting" mode dataSourceGrid.enableStableSorting(true) dataSourceGrid.sortRows(3,"str","asc"); dataSourceGrid.sortRows(0,"str","asc"); http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Sorting_in_grid.html#grid_art_sort |