Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raghu on Dec 08, 2008 03:02
open dhtmlx forum
Grid Sorting

Hi,
When i am trying to sort by more than one column i am not getting the desired result
mygrid.enableStableSorting(true);
        mygrid.sortRows(1,"str","asc");    //sort by the sibling column
        mygrid.sortRows(0,"str","des");
Answer posted by Support on Dec 08, 2008 05:37
As result of such command grid will be sorted by column 0 in desc order, and rows which are equal in column 0, will be sorted by column 1 in asc order
Does result differ from described one?