Hi,
What type is the object "item", passed as argument to onClick() ?
The api doc says "dojo.data" which is not a class, I believe.
Is item the tree node? Can I insert children below this node? Which method would I use? I tried DOM, that does not work, if I recall. Sorry, but I don't see what the type of this object is.
<div dojoType="dijit.Tree" id="testTree" store="testStore" query="{type:'path'}">
<script type="dojo/method" event="onClick" args="item">
Thanks, c

it's a datastore item.
WIth datastore APIs you can e.g. delete it or query it for attributes
regards
--
Roberto Saccon
http://rsaccon.com