EnableSort: Boolean;
The EnableSort property determines whether columns can be sorted.
Use JSON or the setEnableSort method to set the property value, and the getEnableSort method to get the property value.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Get tree titles caps = Tree.getCaptions(); // Disable column sorting caps.setEnableSort(false);
After executing the example sorting is disabled.
See also: