解决方案 »
- 新手求助:在函数里怎么判断函数外的变量是否定义
- 关于javascript 地图的
- 来者有分,使用过dTree的请进,如何去掉或者隐藏最顶部的根节点,在线急等!
- 关于iframe取值的问题
- JS里,如何查询某个字符串并剔除掉?
- 请问给一个htm页发参数,如何在页面里接收传过来的参数?例如http://abc.htm?x=1&y=2如何在页面里接收x和y?
- 提交表单的问题?
- mozilla下javascript的兼容性如何????
- 怎样将变量内容复制到剪切板
- 如何将select中选中的项返回到一个数组中?
- Error: No conversion from text to json如何解决
- radio样式脚本问题。
var rec = new Ext.data.Record(insertFields);store.insert(1, rec) : void
Inserts Records into the Store at the given index and fires the add event. See also add and addSorted.
但是insertStore不是空的吗?直接var rec = new Ext.data.Record(insertFields);store.insert(1, rec);插入的不是一条空的数据吗?
,listeners:{
'afterrender':function(g){
var arr = [];
g.getStore().each(function(record){
arr.push(record.data);
},this)
}
store.loadData(arr);
}
谢谢,我直接修改了开始store的数据源,直接在存储过程里面增加了一条了,然后用Group的SORT属性弄到了第一列,不过还是很感谢你。