on 02-12-2013 7:25 AM
Hi,
I have an issue that i have to implement a search functionality in a tree by key table column i.e. a tree by key table column is loaded initially with only the root node and then i want have a search functionality to be able to search an employee number that would reside anywhere in that node. If found one it just dynamically opens up the node whereever that employee number is located in the tree.
Please reply asap.
Hi Amber,
You would do this by setting the expanded property of all parent nodes to true. Let's say you have the following tree and the employee you want to display is 2.1.1.
You would need to set the expanded properties of nodes 2 and 2.1 to true. Once the nodes are expanded, you can also set the Table's firstVisibleRow property to the index of the employee node so the Table will scroll to that position.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.