DimTreeView.sort

Syntax

sort (atrId, method, fireEvent);

Parameters

atrId. Identifier of the dimension attribute used as the base for sorting. If this value is not defined, the sorting method is inherited from source.

method. Sorting method - element of the PP.Ui.TreeListSort enumeration.

fireEvent. This parameter determines whether the DimTreeView.SortChanged event occurs after method execution. Default property value is True. If this parameter 

is set to False the event is not fired.

Description

The sort method sorts dictionary tree items.

Comments

By default sorting method is obtained from the source.

Example

An example of method use is given in description of the DimTreeView.SortChanged event.

See also:

DimTreeView