I have table with following structure :
DEPARTMENT, PARENT_DEPARTMENT, SEQUENCE
---------------------------------------------------------------------------
IT, null, 1
Software, IT, 1
Testing, IT, 2
HR,null,2
Recruiting, HR, 1
Legal, HR, 2
This information I’m displaying in ASP using tree structure silimar to shown in
I’m very much new to this type of tree logic.
If you guys used this type of logic in your application I have few questions :
01. Is it possible to display department and sequence number in a text box when we click on any department ( for example when we click on Testing the value “Testing” should appear in text box 1 and value “2” should appear in text box 2.
02. Is it possible that the tree expands fully when we click on any top parent. Means when I click on “HR” it should displays all the heirarchy/ sub heirarchy under “HR”
Thanks
DEPARTMENT, PARENT_DEPARTMENT, SEQUENCE
---------------------------------------------------------------------------
IT, null, 1
Software, IT, 1
Testing, IT, 2
HR,null,2
Recruiting, HR, 1
Legal, HR, 2
This information I’m displaying in ASP using tree structure silimar to shown in
I’m very much new to this type of tree logic.
If you guys used this type of logic in your application I have few questions :
01. Is it possible to display department and sequence number in a text box when we click on any department ( for example when we click on Testing the value “Testing” should appear in text box 1 and value “2” should appear in text box 2.
02. Is it possible that the tree expands fully when we click on any top parent. Means when I click on “HR” it should displays all the heirarchy/ sub heirarchy under “HR”
Thanks