ListCaptions.EnableSort

Syntax

EnableSort: Boolean;

Description

The EnableSort property determines whether columns can be sorted.

Comments

Use JSON or the setEnableSort method to set the property value, and the getEnableSort method to get the property value.

Example

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:

ListCaptions