By willcode4beer
via willcode4beer.com
Published: Jan 24 2007 / 03:12
This is a little article I'm working on. That walks through using the dojo tree widget.
It starts with the conventional HTML method and progresses to the programmatic method.
I'm having some trouble with weird behavior on drag and drop and hope I can get a little feedback.
Thanks



Comments
bloid replied ago:
Can it load children on demand? ie: when a node is expanded...
willcode4beer replied ago:
yes. It could either load static data or with the RPCController it could query the server when a node is expanded.
If you like, I could add a demonstration of that.
bloid replied ago:
A demonstration of that would be lovely! I had to write my own the other week, and it was a nightmare ;-)
willcode4beer replied ago:
I think this should cover it.
I apologize in advance if anything is unintelligible. Working on very little sleep here.
http://willcode4beer.com/ware.jsp?set=dojoRpcTree
Any feedback would be appreciated.
bloid replied ago:
Cool!! Thanks!
I linked to it here: http://www.dzone.com/links/adding_dojo_tree_nodes_ala_ajax.html
willcode4beer replied ago:
cool, thanks. I'll probably add some improvements to it tonight. I was pretty tired when finishing it up (hard coding the json string).
OceanLover replied ago:
http://willcode4beer.com/ware.jsp?set=dojoTreeWidget
I got lost. I was not sure which lines to include and which lines to exclude to have working prototype.
If you could please email me (sgho@aol.com) the working source code, it will be greatly appreciated.
Regards,
sgho@aol.com
Voters For This Link (12)
Voters Against This Link (0)