', {
plugins: [new Ext.ux.ComboPageSize({})],
store: store, //---grid panel的数据源...200,
buttonAlign: 'center',
modal: true,
resizable: false,
layout: 'fit...', '添加成功!')...false,
buttonAlign: 'center',
minWidth: 300,
minHeight: 200,
layout: 'fit...store.remove(selection[i]);
修改添加函数:去掉了重新写的往后台传值方式,直接调用Rest的Post方式,修改后的OnInsert函数如下:
这种方式直接调用store的insert