O'Reilly logo

Learning Ext JS 4 by Armando Gonzalez, Crysfel Villa

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 10. The Tree Panel

The Ext.tree.Panel class is a great component in Ext JS and also a great tool when we want to display 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. The features like columns, sorting, filtering, renderers, drag-and-drop, the 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 the way they render data.

In this chapter we'll learn how Ext.tree.Panel works, its versatility, and ease of use.

The topics we are going to cover in this chapter are as follows:

  • A basic tree panel
  • The TreeStore
  • Tree nodes ...

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