13 Oct 2011 11:15 AM #1
multiple instances of same tree panel breaks
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 #2
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
This isn't a bug. They share the same store because you've declared it in the prototype.Evan Trimboli
Twitter - @evantrimboli
Don't be afraid of the source code!
13 Oct 2011 1:21 PM #3
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 #4
nevermind. I googled what you where talking about and that makes sense. Sorry for the confusion.