What is the difference between TreeGrid and TreePanel components of ExtJs 4?

5.1k views Asked by At

I would like to know whats the difference between TreeGrid and TreePanel components of ExtJS 4?

I was looking for some component which will allow me to display rows and sub rows (for slice and dice kind of dashboard) but couldn't find anything similar in ExtJS 4.

I came across TreeGrid and TreePanel but not sure which one is latest and which to be used?

Please enlighten !

1

There are 1 answers

3
dbrin On BEST ANSWER

You want to use Treepanel. I believe treegrid name is a legacy cary over. Here is a very nice clean example of such a beast: http://docs.sencha.com/ext-js/4-0/#!/example/tree/treegrid.html Notice how they did not rename the example :)