如何从 rowediting 插件的 "allowBlank: false" 配置中删除 window 错误消息

How to remove the window error message from the "allowBlank: false" config of the rowediting plugin

如何在添加新行时从 rowediting 插件的 "allowBlank: false" 配置中删除 window 错误消息(显示在右侧)?

Fiddle: https://fiddle.sencha.com/#view/editor&fiddle/1s26

您可以覆盖 RowEditor 中的 showTooltip 方法class:

Ext.define('RowEditorOverride', {
    override: 'Ext.grid.RowEditor',

    showToolTip: function() {
        return;
    }
});

您不需要覆盖 Ext.grid.RowEdit。只需在插件中添加errorSummary: false

plugins: [{
  ptype: 'rowediting',
  clicksToEdit: 2,
  errorSummary: false
}]

添加错误摘要:错误配置