
|
CSS Definition |
Description |
Default Values |
|
|
The icon used to represent the open state for tree items at the root level. |
|
|
|
The icon used to represent the close state for tree items at the root level. |
|
|
|
The icon used to represent the open state for tree items that have next siblings. |
|
|
|
The icon used to represent the close state for tree items at have next siblings. |
|
|
|
The icon used to represent the open state for tree items that don't have next siblings. |
|
|
|
The icon used to represent the close state for tree items at don't have next siblings. |
|
|
|
The icon used to represent the T-shape icon. |
|
|
|
The icon used to represent the |-shape (vertical bar) icon. |
|
|
|
The icon used to represent the L-shape icon -- no next sibling. |
|
|
|
The icon used to represent the blank icon. |
|
To switch to another built in style( the style used prior 3.0), set iconSclass to “dottree.”
<zk> <window> <window title="tree demo" border="normal"> <tree iconSclass="dottree" id="tree" width="90%" rows="5"> ...



|
CSS Definition |
Description |
Default Values |
|
|
Item visited |
|
|
|
Item hover |
|
|
|
Item selected |
|
|
|
Item onmouseover |
|
|
|
Item selected and onmouseover |
|
|
|
Item focused |
|

|
CSS Definition |
Description |
Default Values |
|
|
Tree item inner cell |
|
...
<style>
div.cell-inner{
font-family: cursive;
color:red;
}
</style>
<tree id="tree">
|
CSS Definition |
Description |
Default Values |
|
|
Tree header |
|
|
|
Tree header - tr |
|
|
|
Tree header - th |
|
|
|
The cell of tree header |
|
...
<style>
div.head-cell-inner {
color: red;
font-size: 16px;
font-weight: 900;
}
div.tree-head th{
border: dotted 2px purple;
background-color: #00FF00;
}
div.tree-head{
border: solid 2px orange;
}
</style>
<tree id="tree">
