sort

fires on sorting a column by clicking on its header

void sort(string|number id){ ... };

Parameters

idstring|numberthe id of a column

Example

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

Related samples

Back to top