This duplicates another bug already reported in our system:
TreeNode root/data property confusion
Trying out the new Sencha Designer and using the TreeStore. I worked to use designer to make an example that looked like the sample code on:
Strangely enough, Sencha Designer looked like it was giving me an error -- something like "Please associate a model .... inline data ... " on the TreeStore.
My question is if I fill out the root property why should I have to setup the data property (as the example does not bother to set the data property)? They both kind of seem to be doing the same thing exception the data property seems to work on an array of objects and root expects a dictionary object. I got my example to work by setting the data property to the empty list and setting the root property to what is in the sample code on the url.
Is there a good reason to have a data property for the TreeStore?