官术网_书友最值得收藏!

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 they are one of the most important parts of the JavaScript development world.

主站蜘蛛池模板: 福海县| 莫力| 垣曲县| 柘荣县| 专栏| 咸宁市| 同江市| 永仁县| 阜宁县| 大港区| 尼玛县| 阳谷县| 车致| 丰顺县| 临潭县| 姜堰市| 延长县| 绩溪县| 汨罗市| 荣昌县| 丹东市| 甘南县| 固镇县| 龙川县| 芒康县| 淮阳县| 万宁市| 屏山县| 平武县| 金门县| 固原市| 彩票| 道孚县| 文登市| 连平县| 嘉善县| 洪泽县| 甘南县| 子长县| 阳东县| 浮山县|