concept data store in category ext js

appears as: data store, The data store
Ext JS in Action, Second Edition

This is an excerpt from Manning's book Ext JS in Action, Second Edition.

The tree panel widget is an exception to the list of UI widgets that consume data in that it doesn’t consume data from a data store. Instead, it consumes hierarchical data via the use of the TreeStore class. Figure 1.9 shows an example of an Ext JS tree panel widget. Here, the tree panel is being used to display the parent-child data inside the directory of an installation of the framework.

By now you should have a working knowledge of what the data store is and how it works. So let’s wrap up this chapter with one of the more advanced features introduced in Ext JS 4: the ability to nest data by using Ext.data.Association between your models.

The data store feeds quite a few widgets throughout the framework wherever data is needed. To put this in plain view, figure 7.1 enumerates the classes that depend on the data Store class.

Figure 7.1. Data Store and the classes to which it feeds data. This illustration doesn’t depict class hierarchy.

As you can see, the data store supports quite a few widgets, including the data view, Combo Box, charts, grid panel, and tree panel. The data store also serves as the foundation for tree panels (we’ll cover the tree store in chapter 10).