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

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.

主站蜘蛛池模板: 南召县| 曲麻莱县| 海南省| 雷波县| 南安市| 枣阳市| 高淳县| 赤壁市| 甘谷县| 岐山县| 大渡口区| 龙州县| 芜湖县| 朔州市| 西吉县| 蒲江县| 淄博市| 赤城县| 那曲县| 潜江市| 长沙县| 祁阳县| 拜泉县| 泗洪县| 水富县| 成武县| 绿春县| 岫岩| 来宾市| 平南县| 喀喇| 漯河市| 达州市| 灵丘县| 梁山县| 曲阳县| 正阳县| 镇坪县| 临漳县| 河东区| 常州市|