MetabaseTreeList.clearSelection

Syntax

clearSelection();

Description

The clearSelection method removes selection from all tree nodes.

Example

To execute the example the HTML page must contain the MetabaseTreeList component named list1 (see Example of Creating the MetabaseTreeList Component). Select all tree nodes:

list1.selectAll();

After executing the example all tree nodes are selected:

Next remove selection from all nodes:

list1.clearSelection();

After executing the example selection was removed from all nodes:

See also:

DataSource