Advanced User Interface Controls and Components
Reorders all items in tree structure either in ascending or descending order.
Param | Type | Details |
---|---|---|
order | String | Specifies the sort order |
comparer (optional) | Function | A callback function with custom sort operation |
This method does not return a value.
The order parameter can accept one of the following IntegralUISortOrder values:
When comparer parameter is provided, it will replace the default sorting algorithm with a custom sorting operation set in your code.
A call to this method will trigger change event, with event data type set to 'sorting'.
Supported in: v1.1.