如何从添加新行添加新行时从"允许布兰克:false"配置中删除窗口错误消息(在右侧显示)?
在您无需覆盖Ext.grid.RowEdit
。只需在插件中添加errorSummary: false
。
plugins: [{
ptype: 'rowediting',
clicksToEdit: 2,
errorSummary: false
}]
您可以覆盖Roweditor类中的ShowToolTip方法:
Ext.define('RowEditorOverride', {
override: 'Ext.grid.RowEditor',
showToolTip: function() {
return;
}
});
添加errorsummary:false config