UltraTree¶
Infragistics UltraTree.
UI element class: Infragistics.Win.UltraWinTree.UltraTree
Extends ManagedObject
Extends SeSSimulatedObject
Behavior Pattern: UltraTreeBehavior
Property Summary¶
Property | Description | Getter | Setter |
---|---|---|---|
CellText | Cell text for the cell specified by rowPath and col | GetCellText | |
Checked | Checked state of the selected node or a node specified by the input parameters. | GetChecked | |
ChildrenCount | Number of children of the selected node or a node specified by the input parameters. | GetChildrenCount | |
Expanded | Expanded state of the selected node or a node specified by the input parameters. | GetExpanded | |
IndexPath | Index path of the specified or selected tree node i.e. | GetIndexPath | |
NodeElement | GetNodeElement | ||
NodeText | Text of the selected node or a node specified by the input parameters. | GetNodeText | |
Selected | Selected state of the selected node or a node specified by the input parameters | GetSelected | |
Text | ;-combined text of all selected nodes. | GetText |
Action Summary¶
Action | Description |
---|---|
DoClickCell | Click the cell specified by row name or index and column name or index |
DoClickNode | Clicks specific node in the tree. |
DoCollapse | Collapses specific node in the tree. |
DoExpand | Expands specific node in the tree. |
DoSetCheck | Set 'checked' state of the specified node |
Property Detail¶
CellText¶
Cell text for the cell specified by rowPath and col
Getter Parameters:
Name | Type | Description |
---|---|---|
rowPath | string | number | Path of the top level node to select. If integer number is passed then the top level node is searched by index. |
column | number | string | Column index or column name. Default is 0 Optional. |
Type: string
Accessors: GetCellText
value = SeS('SomeUltraTree').GetCellText(/**string|number*/ rowPath, /**number|string*/ column)
Checked¶
Checked state of the selected node or a node specified by the input parameters.
Getter Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Type: boolean
Accessors: GetChecked
value = SeS('SomeUltraTree').GetChecked(path, separator, pathType)
ChildrenCount¶
Number of children of the selected node or a node specified by the input parameters.
Getter Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Type: string|boolean
Accessors: GetChildrenCount
value = SeS('SomeUltraTree').GetChildrenCount(path, separator, pathType)
Expanded¶
Expanded state of the selected node or a node specified by the input parameters.
Getter Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Type: boolean
Accessors: GetExpanded
value = SeS('SomeUltraTree').GetExpanded(path, separator, pathType)
IndexPath¶
Index path of the specified or selected tree node i.e. string in form '0;5;2;1;6', 'false' if fails
Getter Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Type: string|boolean
Accessors: GetIndexPath
value = SeS('SomeUltraTree').GetIndexPath(path, separator, pathType)
NodeElement¶
Getter Parameters:
Name | Type | Description |
---|---|---|
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
column | number | string | Column index or column name. Default is 0 Optional. |
Type: undefined @param {string|number} path Path of the top level node to select. If integer number is passed then the top level node is searched by index.
Accessors: GetNodeElement
value = SeS('SomeUltraTree').GetNodeElement(path, separator, pathType, column)
NodeText¶
Text of the selected node or a node specified by the input parameters.
Getter Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Type: string|boolean
Accessors: GetNodeText
value = SeS('SomeUltraTree').GetNodeText(path, separator, pathType)
Selected¶
Selected state of the selected node or a node specified by the input parameters
Getter Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Type: boolean
Accessors: GetSelected
value = SeS('SomeUltraTree').GetSelected(path, separator, pathType)
Text¶
;-combined text of all selected nodes.
Type: string
Accessors: GetText
value = SeS('SomeUltraTree').GetText()
Action Detail¶
DoClickCell¶
Click the cell specified by row name or index and column name or index
SeS('SomeUltraTree').DoClickCell(rowPath, col, clickType, xOffset, yOffset)
Parameters:
Name | Type | Description |
---|---|---|
rowPath | string | number | Path of the top level node to select. If integer number is passed then the top level node is searched by index. |
col | number | string | Column index or column name |
clickType | string | Type of click, can be one of "L" - left click, "LD" - double left click, "R" - right click, "RD" - double right click, "M" - middle click, "MD" - double middle click, "N" - don't click Possible values: "L", "LD", "R", "RD", "M", "MD", "N" Optional, Default: "L". |
xOffset | number | X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width. Optional. |
yOffset | number | Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height. Optional. |
Returns:
boolean: 'true' if success, 'false' otherwise.
DoClickNode¶
Clicks specific node in the tree.
SeS('SomeUltraTree').DoClickNode(path, separator, pathType, column, clickType, xOffset, yOffset)
Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
column | number | string | Column index or column name. Default is 0 Optional. |
clickType | string | Type of click, can be one of "L" - left click, "LD" - double left click, "R" - right click, "RD" - double right click, "M" - middle click, "MD" - double middle click, "N" - don't click Possible values: "L", "LD", "R", "RD", "M", "MD", "N" Optional, Default: "L". |
xOffset | number | X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width. Optional. |
yOffset | number | Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height. Optional. |
Returns:
boolean: 'true' if success, 'false' otherwise.
DoCollapse¶
Collapses specific node in the tree.
SeS('SomeUltraTree').DoCollapse(path, separator, pathType)
Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Returns:
boolean: 'true' if success, 'false' otherwise.
DoExpand¶
Expands specific node in the tree.
SeS('SomeUltraTree').DoExpand(path, separator, pathType)
Parameters:
Name | Type | Description |
---|---|---|
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Returns:
boolean: 'true' if success, 'false' otherwise.
DoSetCheck¶
Set 'checked' state of the specified node
SeS('SomeUltraTree').DoSetCheck(bcheck, path, separator, pathType)
Parameters:
Name | Type | Description |
---|---|---|
bcheck | boolean | Check state to set |
path | string | Path of the node |
separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". |
Returns:
boolean: 'true' if success, 'false' otherwise.