ITreeGridNode interface
Namespace: NextDesign.Core
Description
An access object to the node information in the tree grid.
Affiliation area
Name | Description |
---|---|
Editor | APIs to access the editor. |
Inherit Base
Name | Description |
---|---|
IEditorElement | Access object to the editor element. |
Property
Name | Description |
---|---|
Cells | Cells on this node |
Children | Child node of tree The order is the same as the display order of child elements on the UI. |
IsExpanded | Is this node expanded? |
Parent | Tree parent node |
Method
Name | Description |
---|---|
GetCellDisplayValues | Gets all cell display strings for this node. A cell with no value returns an empty string. See GetCellValueString () for the strings you can get. |
GetCellValue | Gets 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) |
GetCellValueAt | Gets 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. |
GetCellValueString | Gets 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 |
GetCellValueStringAt | Gets 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. |
GetSelectedCells | Gets the cells selected on this node. |
HasCellValue | Checks if the value of the cell in the column specified by this node exists. Returns True if the cell value is present. |
HasCellValueAt | Checks if the value of the cell at the index specified by this node exists. Returns True if the cell value is present. |
IsCellSelected | Checks if the cell in the column specified by this node is selected. Returns True if the cell is selected. |
IsCellSelectedAt | Checks 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.