TreeNode Class [PHP]
Summary
Properties | Description | |
expand | Get or set whether node is expanded or collapsed | |
id | Get or set id of the node. | |
image | Get or set image src of node. | |
showPlusMinus | Get or set whether node show plusminus button (Note: For root node only) | |
subTreeUrl | Get or set the url for loading subtree. | |
text | Get or set content of node. | |
visible | Get or set whether node is visible (Note: For root node only) |
Methods | Description | |
addChild | Add a new childnode to the node. | |
addData | Add hidden data to the node which can be retrived at client-side. |
Properties Detail
expandTop
bool expand
Get or set whether node is expanded or collapsed
Supported from version: 2.0.0.0
showPlusMinusTop
bool showPlusMinus
Get or set whether node show plusminus button (Note: For root node only)
Supported from version: 2.0.0.0
subTreeUrlTop
string subTreeUrl
Get or set the url for loading subtree.
Supported from version: 2.0.0.0
visibleTop
bool visible
Get or set whether node is visible (Note: For root node only)
Supported from version: 2.0.0.0