ListCaptions.SortMethod

Syntax

SortMethod: PP.SortDirection;

Description

The SortMethod property determines sorting method in column title.

Comments

Use JSON or the setSortMethod method to set the property value, and the getSortMethod 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 title
caps = Tree.getCaptions();
cap = caps.getCaptions()[0];
// Get sorting method
cap.getSortMethod();

After executing the example sorting method in column title is obtained.

See also:

ListCaption