The TreeByNestingTableColumn element allows the integration of a tree structure in a table column.
To insert a TreeByNestingTableColumn into a Table, select it in the Outline view of the Web Dynpro perspective, open the context menu and choose Insert → RowArrangement. Now you can select the TreeByNestingTableColumn.
● cellDesign
Specifies the background color of the cell. The cellDesign property can take the following values and is represented by the enumeration type WDTableCellDesign.
badvalue_dark |
Dark background color that indicates a negative value. |
badvalue_light |
Light background color that indicates a negative value. |
badvalue_medium |
Medium background color that indicates a negative value. |
criticalvalue_dark |
Dark background color that indicates a critical value. |
criticalvalue_light |
Light background color that indicates a critical value. |
criticalvalue_medium |
Medium background color that indicates a critical value. |
goodvalue_dark |
Dark background color that indicates a good value. |
goodvalue_light |
Light background color that indicates a good value. |
goodvalue_medium |
Medium background color that indicates a good value. |
group_level1 |
Background color for cells of group level 1 |
group_level2 |
Background color for cells of group level 2 |
group_level3 |
Background color for cells of group level 3 |
key_medium |
Medium background color for cells of key column |
negative |
Background color that indicates a negative value. |
positive |
Background color that indicates a positive value. |
standard |
Standard background color, the same for the entire row |
The default value for this property is standard.
● childrenLoaded
Specifies whether the lower-level nodes are loaded.
● design
Specifies the design of the cell background. The default value of this property is transparent. You can use the background colors fill1, fill2, and fill3 as separators between the individual semantically different cell contents. The cellBackgroundDesignproperty can be filled with the following values and is represented by the enumeration type WDCellBackgroundDesign.
Value |
Short Description |
border |
This is the color of the cell borders. This value is used for nested grid layouts to create grid net lines. |
fill1 |
The color corresponds to the value primarycolor of the design property of the Group UI element. |
fill2 |
The color corresponds to the value secondarycolor of the design property of the Group UI element. |
fill3 |
This color corresponds to the color value of the third level of a Tree UI element. |
header |
The color is identical with the color of the header area of a Tree UI element or a table. |
plain |
White background. |
transparent |
The background is transparent. The individual cells are displayed without grid net lines. |
*) The colors to be displayed depend on the design topic and the documentation refers to the SAP Standard Design 2002.
● expanded
Specifies whether a tree node is expanded.
● headerTextWrapping
Determines whether the header text is wrapped.
● isLeaf
Identifies a node element as an end node. The value trueindicates that no other subelements exist.
● resizable
Specifies whether the width of the table column can be modified by the user.
● symbolDesign
Defines which kind of design is chosen to visualize the icons for nodes and leaves in the hierarchy. The symbolDesignproperty can take the following values and is represented by enumeration type WDTableHierarchySymbolDesign
○ simple. Only nodes will be visualized by leading icons
○ standard. Nodes and leaves will be visualized by leading icons
● visible
Specifies
whether or not the column is displayed.
The visible
property can take the following values and is represented by data type
WDVisibility.
blank |
The table column is not visible on the screen. This value has the same visibility effect for the table column on the screen as the value none. |
none |
The table column is not visible on the screen. |
visible |
The table column is displayed on the screen. |
● width
Specifies the width of the table column and can be specified in relative CSS units like em, ex, or percentage.
Name |
Interface |
Type |
Initial Value |
Bindable |
cellDesign |
IWDAbstractMasterTableColumn |
WDTableCellDesign |
standard |
bindable |
childrenLoaded |
IWDAbstractTreeTableColumn |
boolean |
false |
bindable |
design |
IWDAbstractMasterTableColumn |
WDCellBackgroundDesign |
transparent |
bindable |
expanded |
IWDAbstractTreeTableColumn |
boolean |
false |
bindable_mandatory |
headerTextWrapping |
IWDAbstractMasterTableColumn |
boolean |
false |
bindable |
isLeaf |
IWDAbstractTreeTableColumn |
boolean |
false |
bindable |
resizable |
IWDAbstractMasterTableColumn |
boolean |
true |
bindable |
symbolDesign |
IWDAbstractTreeTableColumn |
WDTableHierarchySymbolDesign |
standard |
not_bindable |
visible |
IWDAbstractMasterTableColumn |
WDVisibility |
visible |
bindable |
width |
IWDAbstractMasterTableColumn |
String |
|
bindable |
●
onLoadChildren
(String path)
This event is triggered when a tree node is expanded for the first
time.