sort

fires on sorting a column by clicking on its header

void sort(string|number id);
idstring|numberthe id of a column

Example

pivot.grid.events.on("Sort", function(id){
    console.log("The grid is sorted by the "+id+" column");
});

Details

Related sample:  Grid events

Back to top