"setOpen"

Sets an item to open if open is TRUE and the item is expandable or to close if open is FALSE.

Synopsis

shape.setOpen(string Id, bool open);

Parameters

Parameter Description
shape Name of the object
id The ID of the item
open

TRUE = Sets item to open

FALSE = Sets item to close

Description

Sets an item to open if open is TRUE and the item is expandable or to close if open is FALSE.

Assignment

Tree widget