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

Summary

The DataView is a very flexible component, and it is useful when we want to render data in customized ways. It is easy to use and has a powerful API. Because of the flexibility of the Ext.XTemplate class, we can do a variety of things using these two components.

In this chapter, you learned how the DataView class works. We saw how to use stores, models, and views to format the data we want to render. In Ext JS, a DataView is used commonly with templates, and the Ext.XTemplate class offers a lot of useful configurations to validate and format our data. It is very important to know the capabilities of Ext.view.View compared to the features of Ext.grid.Panel because in terms of performance, it is sometimes much better to use a DataView.

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