Can we fully control the sort order, eg. on a click on the

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.


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.