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

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.

主站蜘蛛池模板: 聂拉木县| 东辽县| 道真| 始兴县| 手游| 崇左市| 洞口县| 灌云县| 简阳市| 乡宁县| 东安县| 八宿县| 中超| 越西县| 乌兰察布市| 平和县| 岑溪市| 无棣县| 武隆县| 桃园县| 潼关县| 根河市| 万荣县| 行唐县| 营口市| 大洼县| 临猗县| 邯郸市| 藁城市| 麻江县| 双流县| 开平市| 海丰县| 嘉善县| 台东县| 双辽市| 大港区| 兴仁县| 莱芜市| 恭城| 宁陵县|