"setExpandable"
Allows to set one or more items to be expandable (even if it has no children) if enable is TRUE and if enable is FALSE, to be expandable but only if it has children.
Synopsis
shape.setExpandable( string|dyn_string id, bool on);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
Id | The ID(s) of the item(s) to be set |
on |
TRUE = Expandable even if it has no children when enable is TRUE FALSE = Expandable only if it has children when enable is FALSE |
Description
Sets one or more items to be expandable (even if it has no children) if enable is TRUE and if enable is FALSE, to be expandable but only if it has children.
Assignment
Tree widget