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

Summary

In this chapter we have 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, pulling, and sending data to the server using proxies, readers, and writers.

It's important to mention that every widget in Ext JS that displays data uses a store and models 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 use the remove method from the store. By doing this the grid automatically will update the rows and the deleted row won't appear anymore.

In the next chapter we are going to learn about events ...

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