
Extjs
文章平均质量分 81
Elina_1992
这个作者很懒,什么都没留下…
展开
-
文章标题
**Ext.grid.ColumnModel 属性 详解** Ext.grid.ColumnModel 用于定义Grid的列 用例var colModel = new Ext.grid.ColumnModel([ {header: "Ticker", width: 60, sortable: true}, {header: "Company Name", width: 150,转载 2015-11-04 16:04:34 · 396 阅读 · 0 评论 -
对Extjs中store的多种操作
Store.getCount()返回的是store中的所有数据记录,然后使用for循环遍历整个store,从而得到每条记录。除了使用getCount()的方法外,还可以使用each()函数,如下面的代码所示。`1. store.each(function(record) { 2. alert(record.get('name')); 3. }); `Each()可以接受转载 2015-11-05 11:21:12 · 561 阅读 · 0 评论