title: Dijit Tree onClick event render undefined
body: <p>Using the below JSON String which i use to render a dojo treegrid on my Xpages application: </p>
  
  <pre><code>var data=    {identifier: 'name',
   label: 'continent',
  items: [
      {"name": "Africa", "field": "continent", "children": "[
              { "name":"Egypt", "field":"country" },
              { "name":"Kenya", "field":"country", "children":"[
                  { "name":"Nairobi", "field":"city" },
                  { "name":"Mombasa", "field":"city" } ]"
              ]},
              { "name":"Sudan", "field":"country", "children":"[
                  { "name":'Khartoum', "field":"city" }]"
              },
          { "name":'Asia', "field":"continent", "children":"[
              { "name":"China", "field":"country" },
              { "name":"India", "field":"country"},
              { "name":"Russia", "field":"country" },
              { "name":"Mongolia", "field":"country" } ]"
          }
  
       }
  ]}
  </code></pre>
  
  <p>i try to create an onClick event, every time i clcik on the node i got an alert  <em>Execute of node undefined</em>  How do i get the actaull value of item?</p>
  
  <pre><code>var store= new dojo.data.ItemFileReadStore({data: data});
  var model = new dijit.tree.ForestStoreModel({
  
      store: store,
      query: {field:"continent"},
      labelAttr :"name"
      rootId: 'id',
      rootLabel: 'continent',
      childrenAttrs: ['children']
  });
  
  var grid = new dojox.grid.TreeGrid({
      treeModel: model,
      showRoot: true,
      openOnDblClick:true,    
      onClick : function(item, node, evt){    
      var id=store.getValue(item,"name");
      alert("Execute of node " + id)
  
  }
  
  }, 'treeGrid');
  grid.startup();
  </code></pre>