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.