Categories | Question details Back To List | ||
Can we fully control the sort order, eg. on a click on
the column C heading, sort by C, then D, then A, then ... Can we fully control the sort order, eg. on a click on the column C heading, sort by C, then D, then A, then B? We'd want to fully specify the sort order for each column header in many cases, rather than relying on default behavior. Answer posted on Mar 05, 2007 10:20 You can cancel default sort action by returning false from onColumnSort event handler (setOnColumnSort(func)). Example: mygrid.setOnColumnSort(function(colInd,gridObj){ if(colInd==1) return false; else return true; }) � cancels sorting for column with index 1. Thus you can do whatever you need inside this event handler and then set sort image state with method mentioned in previous point. Answer posted by Alexandra (Support) on Dec 01, 2014 11:04 I hope this information will be enough for you. But you also can have a look at html5 mobile app and free java file uploader. |