20 May 2013 5:45 AM #1
I had a general question about proper use of a Tree Model. I have a tree model and a tree store and everything works fine. My application also shows the data in a non-tree format, so I have a standard grid with a store. The store is currently using the same TreeModel that that my TreeStore does. Things seems to be working just fine.
My question is are there any known pitfalls with using a TreeModel in a non-Tree Model store? Should I use a version of the model that is not a TreeModel in a non-tree store. Thanks.-->
20 May 2013 5:52 AM #2
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
TreeModel extends Ext.data.Model, so it's only adding extra behaviour.
Short answer: no problem using it.Evan Trimboli
Twitter - @evantrimboli
Don't be afraid of the source code!-->
20 May 2013 5:53 AM #3
Thanks for the quick response evant. That was my guess as well, but figured I would check.-->