trying to use the Heirarchy example with a different attribute for "idProperty" and i only see the root node appear.
var carData = [
{ name:"Cars" ,parent: null , type:"toys", someId: "0" },
{ name:"Audi" ,parent:"Cars", type:"factory", someId: "1" },
{ name:"BMW" ,parent:"Cars", type:"factory", someId: "2" },
{ name:"A3" ,parent:"Audi", type:"sedan", someId: "3" },
{ name:"Q7" ,parent:"Audi", type:"suv", someId: "4" },
{ name:"M3" ,parent:"BMW" , type:"sedan", someId: "5" },
{ name:"535" ,parent:"BMW" , type:"sedan", someId: "6" },
{ name:"750" ,parent:"BMW" , type:"sedan", someId: "7" },
];
require(["cbtree/Tree",
"cbtree/store/Hierarchy",
"cbtree/model/TreeStoreModel"
], function (Tree, Hierarchy, TreeStoreModel) {
var store = new Hierarchy( {data:carData, idProperty:"someId", multiParented:false} );
var model = new TreeStoreModel( {store:store, query:{type:"toys"}} );
var tree = new Tree( {model:model}, "cars-div" );
tree.startup();
});