onAfterSorting

fires exactly after sorting has occured in the grid

void onAfterSorting(number index,string type,string direction){ ... };

Parameters

indexnumberthe index of a column
typestringthe sorting type("str","int","date")
directionstringthe direction of sorting ("asc","des")

Available only in PRO Edition

Example

grid.attachEvent("onAfterSorting", function(index,type,direction){
    //your code here
});

Back to top