View Full Version : [CLOSED] multiple instances of same tree panel breaks

13 Oct 2011, 11:15 AM
See the thread I posted...


I tested it a dozen times and it should work but in extjs 4.0.2a, it breaks all other instances except the first one. I checked my code syntax and structure and it looks fine to me.

13 Oct 2011, 12:35 PM
This isn't a bug. They share the same store because you've declared it in the prototype.

13 Oct 2011, 1:21 PM
Are you sure? Correct me if I'm wrong but since I'm instantiating the class into 2 seperate objects, doesn't the data store also instantiate into two separate datastores as well?

If what your saying is true, how do I have two separate trees with two separate data stores?

13 Oct 2011, 1:31 PM
nevermind. I googled what you where talking about and that makes sense. Sorry for the confusion.