Book Image

Learning Ext JS_Fourth Edition

Book Image

Learning Ext JS_Fourth Edition

Overview of this book

Table of Contents (22 chapters)
Learning Ext JS Fourth Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we had been working with data; we learned how to create models with fields, mappings, validations, and relationships. We also worked with a collection of models using the store class, and learned the basics for retrieving data using proxies, JSON readers, and XML readers. In the upcoming chapters, we will learn how to handle more advanced features available in the stores.

It's important to mention that every widget in Ext JS that displays data uses a store and models (Grids, Combos, Data views, and so on) to manage all the data. When we modify a model in our store, the widget will automatically refresh its view. For example, if we have a grid and we want to delete a record, we only need to use the remove method from the store. By doing this, the grid will automatically update the rows and the deleted rows won't appear anymore.

In the next chapter, we are going to learn about events, and how we can respond to the user interaction. So far, we haven't used events, but...