Sort
12 Sep 20251 minute to read
The Sort module is used to handle sorting action.
Methods
clearSorting
Method to clear all sorted columns.
Returns void
removeSortColumn
To clear sorting for specific column.
| Parameter | Type | Description |
|---|---|---|
| columnName | string |
Defines the sorted column name to remove. |
Returns void
sortColumn
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