Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
thaoxuanpham #1
tree control class
Hi everyone, I use TreeControlClass in my extension to manipulate the data
tree, but it doesn't work for me. Did I do something wrong? My test tree:
<mm:treecontrol name='test' style='height:300px;width:500px'
onClick='alert'here''> <mm:treenode value='rootnode1' state='expanded'
icon='1' > <mm:treenode value='node1' state='expanded' icon='2' >
</mm:treenode> <mm:treenode value='node3' state='expanded'
icon='2'></mm:treenode> </mm:treenode> <mm:treenode value='rootnode2'
state='expanded' icon='1' onClick='alert'here''> <mm:treenode
value='node1' state='expanded' icon='2' > </mm:treenode>
<mm:treenode value='node3' state='expanded' icon='2'></mm:treenode>
</mm:treenode> </mm:treecontrol> It displays a very nice tree. Then I
call: var MY_TREE = new TreeControl('test'); MY_TREE.initTreeControl();
MY_TREE.addrow(['test3'],['test3']); My tree becomes a one column tree. What
did I do wrong there? I want to be able to add new node, deleted selected
node, move node up and down in a tree. Does the TreeControlClass in
Shared/common/ provide enough handler to do these tasks or I need another
class? Is there another control class? Thank you very much, --spring
thaoxuanpham Guest
-
extended tree class with improved drag and drop feedback
hello, i was working on a project recently where the client wanted the drag and drop behaviour of the tree to be improved as the tree they were... -
Tree control problem
hi there, i have xml data around one thousand file in the xml when i try to binding to the tree it come up with error , flexbuidler javac... -
Tree View Control and User Control
I created a web form, created a treeview, its parent and child nodes and it works fine. I re-created the treeview as a user control, dumped the... -
Implementing Control Designer Class for Composite Server Control
I created a custom composite server control with 2 literals and 1 text box. The control displays fine in internet explorer, but doesnt display... -
Class::Tree V 1.24
The pure Perl module Class::Tree V 1.24 is available immediately from CPAN, and from http://savage.net.au/Perl-modules.html. On-line docs, and a... -
Steve #2
Re: tree control class
I've primarily used the innerHTML attribute to rebuild the tree. That's worked for me fairly well. I know it's not the most elegant solution, but it's pretty simple. Have you tried doing that?
Steve
Steve Guest



Reply With Quote

