afterSort
fires after a column is sorted by clicking on its header
afterSort: (column: object, dir: string) => void;
Parameters:
The callback of the event is called with the following parameters:
column: object
- an object with the configuration of a columndir: string
- the sorting direction ("desc", "asc")
Example
grid.events.on("afterSort", (column, dir) => {
// your logic here
});
Change log:
added in v7.1