Table 244.
DataWindow object properties for TreeView presentation style |
Supported |
||
AccessibleDescription |
AccessibleName |
AccessibleRole |
|
CollapsedTreeNodeIconName |
DefaultExpandToLevel |
ExpandedTreeNodeIconNam |
|
Indent |
Level |
SelectNodeByMouse |
|
ShowNodeConnectLines |
ShowLeafNodeConnectLines |
ShowTreeNodeIcon |
|
StateIconAlignMode |
TreeNodeIconName |
||
Unsupported |
|||
QueryMode |
QuerySort |
QueryClear |
|
RtoLLayout |
|||
DataWindow control functions for TreeView DataWindow |
Supported |
||
Collapse |
CollapseAll |
CollapseAllChildren |
|
CollapseLevel |
Expand |
ExpandAll |
|
ExpandAllChildren |
ExpandLevel |
IsExpanded |
|
SelectTreeNode |
|||
DataWindow control events for TreeView presentation style |
Supported |
||
Collapsing |
Collapsed |
Expanding |
|
Expanded |
TreeNodeSelecting |
TreeNodeSelected |
|
Unsupported |
|||
None |
|||
Performance differences between PowerBuilder and Web |
Limitations |
||
DataWindows in TreeView presentation style are restrained by all limitations for DataWindows in Group presentation style. Collapsing, Collapsed, Expanding, and Expanded events cannot be triggered if the nested TreeView DataWindows. If the nest level in a TreeView DataWindow is 3, the user may not correctly expand and collapse the tree node when clicking the mouse. The height for the Tree.level band cannot be negative value. You can not set a column to current column using SetColumn function if the column cannot be focused. If the ScrollNextPage function is called in the last page, the current row on the Web will be set to the last row. This is different from that in PowerBuilder. On the Web, the SetSort function sorts data before groups data. This is different from that in PowerBuilder. If the Shortcut in PowerBuilder application is the same as the shortcut of IE, shortcut in IE has high priority than shortcut settings in PowerBuilder. |
|||
Event sequence difference |
Difference |
||
The TreeNodeSelecting, TreeNodeSelected, RowFocusChanging and RowFocusChanged events cannot be triggered in the preview mode. Selecting Tree Node on the Web will sequentially trigger the events TreeNodeSelecting, TreeNodeSelected, RowFocusChanging, RowFocusChanged. Clicking the TreeView DataWindow on the Web will trigger the following events in sequence: LButtonDown, RowFocusChanging, RowFocusChanged, TreeNodeDelecting and TreeNodeSelected. On the Web calling ScrollNextPage function will trigger the following event in sequence: Rowfocuschanging, Rowfocuschanged, and ScrollVertial. Collapsing or expanding the tree node will trigger the collapsing(/expanding), collapsed(/expanded) and Resize events on the Web in sequence. Do not assign values to rows in the grouping column in a loop. You can use dot notation to directly assign values to corresponding rows. |