SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.getSortFieldCount  method

Return the number of fields which have been involved in sorting. 

function getSortFieldCount (): Integer;
Returns
Integer
Code -1
    var sortCount = grid.getSortFieldCount();
    consol.log(sortCount + " fields have been sorted.");
See Also
getSortDirections
orderBy
getSortFields
DataField.index
Examples
Column Sorting