bug:
经过跟踪,发现是GRID中colSpan问题。注:extjs版本4.22,不知后续版本是否存在此问题
解决办法:
Ext.override(Ext.grid.plugin.RowExpander, { getRowBodyFeatureData: function (record, idx, rowValues) { var me = this me.self.prototype.setupRowData.apply(me, arguments); if (!me.grid.ownerLockable) { rowValues.rowBodyColspan = rowValues.rowBodyColspan; } rowValues.rowBody = me.getRowBodyContents(record); rowValues.rowBodyCls = me.recordsExpanded[record.internalId] ? '' : me.rowBodyHiddenCls; } });
解决后: