Skip to main content

ITreeGridNode interface

Namespace: NextDesign.Core

Description

An access object to the node information in the tree grid.

Affiliation area

NameDescription
EditorAPIs to access the editor.

Inherit Base

NameDescription
IEditorElementAccess object to the editor element.

Property

NameDescription
CellsCells on this node
ChildrenChild node of tree
The order is the same as the display order of child elements on the UI.
IsExpandedIs this node expanded?
ParentTree parent node

Method

NameDescription
GetCellDisplayValuesGets all cell display strings for this node.
A cell with no value returns an empty string.

See GetCellValueString () for the strings you can get.
GetCellValueGets the value of the cell in the specified column for this node.
Returns null if the cell value does not exist.

The actual type of the value you can get depends on the data type of the column.
-bool type: bool value
-numeric type: number
-string type: string
-enumeration type: IEnumLiteral object
-rich text type: plain Text
-Class type (see model): IModelCollection object (returns a collection even with a multiplicity of 1 element)
GetCellValueAtGets the value of the cell at the specified index for this node.
Returns null if the cell value does not exist.

See GetCellValue () for the actual type of value you can get.
GetCellValueStringGets the value of the cell in the specified column of this node in string format.
Returns an empty string if the cell value does not exist.

The string that can be retrieved depends on the data type of the column.
-bool type: "True" or "False"
-Numeric type: Numeric string representation
-String type: String
-Enumeration type: Literal string
-Rich text type: Plain text
-Class type (see model): Model display name (space separated for multiple models)

[Model display name ]
The display name of the model will be in the following format, similar to the display on the UI.
"{Parent element name}/$ {Model name}"
(Example) Use case/Driver
GetCellValueStringAtGets the value of the cell at the specified index of this node in string format.
Returns an empty string if the cell value does not exist.

See GetCellValueString () for the strings you can get.
GetSelectedCellsGets the cells selected on this node.
HasCellValueChecks if the value of the cell in the column specified by this node exists.
Returns True if the cell value is present.
HasCellValueAtChecks if the value of the cell at the index specified by this node exists.
Returns True if the cell value is present.
IsCellSelectedChecks if the cell in the column specified by this node is selected.
Returns True if the cell is selected.
IsCellSelectedAtChecks if the cell with the index specified by this node is selected.
Returns True if the cell is selected.

Annotation

In addition to the underlying constraints, the tree grid node also does not support the following properties:

  • Identifier (Id) If you access these properties, an exception will be thrown.