ElsFilter.getFilterJSON

Syntax

getFilterJSON(levels, includeRoot): Object;

Parameters

levels. Number. Number of levels included into filtering. If it is not specified, the value is -1, and the whole tree is used in filtering.

includeRoot. Boolean. Indicates if root node is included into filtering. By default the value is False, that is, root node is not used in filtering.

Description

The getFilterJSON method returns filtering settings in the tns_PP7_SOM:ElsFilter format.

Example

The example of use is given in description of the ElsFilter.IncludeParents property.

See also:

ElsFilter