
extjs
xx1231
这个作者很懒,什么都没留下…
展开
-
extjs4中加载时,隐藏grid内的数据,getRowClass实现
在grid绑定store数据时,有些数据是我们不想显示到前台让用户看到的;这时怎么处理;有人可能说既然不让用户看到;就不应该在查询时加载,但是用户的需求可能是有些变态;我就遇到了;非的用两个grid显示同一个store的数据,但是都不显示完全的,值显示一部分;在第三个grid内显示所有数据;用store的过滤无法实现;实现方式是,在定义每一个grid时,这样写Ext.create('Ext原创 2012-11-14 09:55:03 · 4776 阅读 · 2 评论 -
extjs的store默认加载数据时,增加本地一条数据
extjs的store定义时可以选中手工加载 autoLoad : false,自己在store.load({ scope: this, callback: function(records, operation, success) { this.insert(0,{id:'',name:'本地数据'}); }});这个虽然好,但是太过麻烦;更原创 2012-11-14 09:35:29 · 2411 阅读 · 0 评论 -
extjs4手工创建Chart 前台js包错 Error: Invalid value for <svg> attribute height="-Infinity"
var myChart = Ext.create("Ext.chart.Chart",{ id: 'chartTestId', width:200, height:100, xtype: 'chart', autoSize:true}chrome报错:Error原创 2012-11-20 11:22:17 · 4450 阅读 · 1 评论 -
extjs的store使用post提交
本人是在extjs6.2下进行操作的 var myStore = Ext.create("App.store.MyStore", { model: "Ext.data.TreeModel", proxy: { type: "ajax", actionMethods: { ...原创 2018-05-26 18:36:09 · 1717 阅读 · 0 评论