Using Designer 2, I have noticed two things regarding trees:
1) I created a TreeStore and pointed it to a json file. I created a tree Model with 2 string fields, 'id' and 'text', which I bind to the TreeStore. I load the data into the store and I see the eye, which I guess means the data has been loaded. When I click the eye, I get the error:
2) I created a TreePanel as a top-level class. I linked it to an inner component. I gave it an id. However, the store attribute is just an empty combobox. I expected it to contain the store names as if I manipulating the top level component.
TypeError: 'undefined' is not an object.
As an aside....if I create the TreePanel as a top-level class, and link it to other parts of the app, is it strictly necessary to bind a store to the class-level TreePanel? I would think no, since that is just a class, and not a link/instantiation.