SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.onSorted  event

It will be fired just after changing the sorting state of columns by clicking column header or calling orderBy method. 

Just before normally changing the sorting state, onSorting event will be fired. 

Code -1
    grid.onSorted = function (grid) {
        console.log('Sorted.');
    }
See Also
onSorting
orderBy
orderByFields
Examples
Column Sorting