RowEditing 使用(示例) 按钮显示文字更改

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-1 13:59   28   0
 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) {                                        
                                      
                                              
                                    }
                                }
                            })

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP