Module: nmodule/webEditors/rc/wb/table/tree/TreeNodeRow


new (require("nmodule/webEditors/rc/wb/table/tree/TreeNodeRow"))(node)

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()).

Extends:
Parameters:
Name Type Description
node module:nmodule/webEditors/rc/wb/tree/TreeNode
Since:
  • Niagara 4.6
See:

Methods


getIcon()

Overrides:
Returns:

the icon of the backing TreeNode

Type
Array.<String>

getSubject()

Get the value represented by this row.

Inherited From:
Returns:
Type
*

getTreeNode()

Returns:

the node backing
this row

Type
module:nmodule/webEditors/rc/wb/tree/TreeNode