TreeViewGroup
Tree view node. Sample: https://public.datagrok.ai/js/samples/ui/tree-view
Extends
Constructors
new TreeViewGroup()
new TreeViewGroup(
dart):TreeViewGroup
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Inherited from
Constructs
from the Dart object
Source
Properties
| Property | Type | Inherited from |
|---|---|---|
dart | any | TreeViewNode.dart |
Accessors
autoCheckChildren
getautoCheckChildren():boolean
Indicates whether check or uncheck is applied to a node only or to all node's children
setautoCheckChildren(auto):void
Parameters
| Parameter | Type |
|---|---|
auto | boolean |
Returns
boolean
Source
captionLabel
getcaptionLabel():HTMLElement
Caption label
Returns
HTMLElement
Source
checkBox
getcheckBox():null|HTMLElement
Check box element
Returns
null | HTMLElement
Source
checked
getchecked():boolean
Returns true if checked
setchecked(checked):void
Parameters
| Parameter | Type |
|---|---|
checked | boolean |
Returns
boolean
Source
children
getchildren():TreeViewNode<any>[]
Gets the node's children
Returns
TreeViewNode<any>[]
Source
currentItem
getcurrentItem():TreeViewNode<any>
Currently selected node.
setcurrentItem(node):void
Parameters
| Parameter | Type |
|---|---|
node | TreeViewNode<any> |
Returns
TreeViewNode<any>