new Ext.grid.plugin.RowEditing({
clicksToEdit: 2,
saveBtnText: '保存',
cancelBtnText: "取消",
listeners: {
beforeedit: function (editor, o) {
_record = o.record;
old_vCourseRecord = {
vc_name: o.record.get("vc_name"),
vc_param: o.record.get("vc_param")
}
// Ext.getCmp("txtVCcourseName").setDisabled(!new_record);
},
"validateedit": function (e, o) {
},
edit: function (editor, o) {
}
}
})
|