TreeView
Controls Suite 4.5 |
| Overview |
| Features |
| Reference Book |
| Live Demos |
| | Populating with Data |
| | Appearance |
| | Behavior |
| | Programming |
| | Application scenarios |
| | | Update Panel |
|
APNSoft TreeView includes a set of properties for client-side events:
- ClientSideOnItemClick - specifies the code to be launched when item is clicked.
To apply a separate client-side code to specific Item, set the item's ClientSideOnItemClick attribute (applied to the Home item in our scenario).
Item's code overrides the component's code.
- ClientSideOnCheck - specifies the code to be launched when an item is checked.
- ClientSideOnUnCheck - specifies the code to be launched when an item is unchecked.
- ClientSideOnExpand - specifies the code to be launched when an item is expanded.
- ClientSideOnCollapse - specifies the code to be launched when an item is collapsed.
Property value can include variables $ComponentID$, $ItemID$ and $Title$.
Each variable is replaced to the corresponding value.
Please click/check/uncheck/expand/collapse any item to launch a client-side code.
The tv.ExpandAll(TreeViewID); client-side method provides a convenient way to open every node in the tree. The tv.CollapseAll(TreeViewID); closes every node.
|