"selectionBehavior"

Sets whether selections are done in terms of single items, rows or columns.

Synopsis

shape.selectionBehavior(string selection);

Parameter

Parameter Description
shape Name of the object
selection Sets what's selected

Description

It declares if a selection will select a single element or whole rows or columns.

Possible settings:

"0" ... single elements

"1" ... rows

"2" ... columns

EXAMPLE

This selection chooses whole rows.

main()
{
  TREE1.selectionBehavior("1");
}

Assignment

Tree widget