How to realize dynamic expand tree?
I want to create a dynamic expand tree,like follows:
£ÂRoot
¡¡£Â£Â£«Directory1
¡¡£Â£Â£«Directory2
When click Directory1,this page will read contents of Directory1 from database and show them,the result is follows:
£ÂRoot
¡¡£Â£Â£ÂDirectory1
¡¡¡¡¡¡£Â£Â£«Directory1£Â1
¡¡¡¡¡¡£Â£Â£ÂFile1
¡¡¡¡¡¡£Â£Â£ÂFile2
¡¡£Â£Â£«Directory2
How to realize above function? Is there have open source code for it?
|