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 .
You need to enable “stable sorting” mode
dataSourceGrid.enableStableSorting(true)
dataSourceGrid.sortRows(3,“str”,“asc”);
dataSourceGrid.sortRows(0,“str”,“asc”);
dhtmlx.com/docs/products/dhtmlxG … d_art_sort