The Sort module is used to handle sorting action.
Method to clear all sorted columns.
Returns void
To clear sorting for specific column.
Parameter | Type | Description |
---|---|---|
columnName | string |
Defines the sorted column name to remove. |
Returns void
Sort a column with given options.
Parameter | Type | Description |
---|---|---|
columnName | string |
Defines the column name to sort. |
direction | SortDirection |
Defines the direction of sort. |
isMultiSort (optional) | boolean |
Defines whether the previously sorted columns are to be maintained. |
Returns void