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

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.

主站蜘蛛池模板: 德清县| 新巴尔虎左旗| 中江县| 宝清县| 长宁区| 美姑县| 津市市| 乐业县| 怀集县| 奉贤区| 唐海县| 镇巴县| 安陆市| 和龙市| 出国| 濉溪县| 靖边县| 宣城市| 阿克苏市| 泸水县| 林口县| 尼木县| 德兴市| 巴楚县| 泗水县| 望谟县| 太仆寺旗| 武穴市| 龙里县| 黎川县| 海安县| 松潘县| 喀喇| 松原市| 方城县| 盐边县| 体育| 乌拉特后旗| 阳新县| 桃园县| 遵化市|