DimTreeView.selectAll

Syntax

selectAll(callback, fireEvent);

Parameters

callback. Callback procedure.

fireEvent. Parameter that determines whether to fire the RequestSelection event after method execution. Default property value is True. If the parameters is set to False the event is not fired.

Description

The selectAll method sets selection for all nodes of the dictionary tree.

Comments

This method is relevant if the DimTreeView.MultiSelect property is set to True.

Example

To execute the example, the HTML page must contain the DimensionTree component named dimTree (see Example of Creating the DimensionTree Component). In the BODY tag add DIV element with the identifier Div2. Add a button clicking which selects all tree nodes:

            button1.Click.add(function (sender, args) {
                dimTree.setMultiSelect(true);
                dimTree.selectAll();
            });

After executing the example clicking the Select All button select all tree nodes.

See also:

DimTreeView