O'Reilly logo

Learning Ext JS - Fourth Edition by Armando Gonzalez, Crysfel Villa, Carlos A. Méndez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. The Tree Panel

The Ext.tree.Panel class is a component in Ext JS, and also a great tool that allows us to display and use hierarchical data. A good example of this is a file directory application.

Ext.tree.Panel extends from Ext.panel.Table, which is the same class that the Ext.grid.Panel extends from. Features such as columns, sorting, filtering, renderers, dragging and dropping, plugins, and extensions are expected to work in Ext.tree.Panel as well. The main difference between the Ext.grid.Panel and Ext.tree.Panel classes is in the way they render data.

It's important to mention that this component is also data aware, so for it, we must use Ext.data.TreeStore, which is a data store specially designed to work with the tree panel. In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required