SortMethod: PP.Ui.TreeSortMethod;
The SortMethod property determines sorting method in column title.
Use JSON or the setSortMethod method to set the property value, and the getSortMethod 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 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: