new (require("nmodule/webEditors/rc/wb/table/tree/TreeNodeRow"))(node)
- Description:
API Status: Development
Row backed by a TreeNode. The value and icon of the TreeNode will be used
as the subject and icon of the row itself.This type of row will be used in a
TreeTableModel. This allows the use of
regular Column types in the model (using the actual value of the node as
the row's subject) while still being able to use the expand/collapse
functionality of a tree (by accessing#getTreeNode()).
- Source:
- Since:
- Niagara 4.6
- See:
Extends:
Parameters:
| Name | Type | Description |
|---|---|---|
node |
module:nmodule/webEditors/rc/wb/tree/TreeNode |
Extends
Methods
getIcon() → {Array.<String>}
- Source:
- Overrides:
Returns:
the icon of the backing TreeNode
- Type
- Array.<String>
getSubject() → {*}
- Description:
Get the value represented by this row.
- Source:
- Inherited From:
Returns:
- Type
- *
getTreeNode() → {module:nmodule/webEditors/rc/wb/tree/TreeNode}
- Source:
Returns:
the node backing
this row