Thank you for reporting this bug. We will make it our priority to review this report.
[4.2.3] CellEditor in propertygrid misses field.column reference
[4.2.3] CellEditor in propertygrid misses field.column reference
Ext.grid.CellEditor has a new method in 4.2.3 called onViewRefresh. This tries to read this.field.column.sorting, however field.column is never set.
This override hopefully fixes the issue:
Code:
Ext.define('overrides.grid.CellEditor', {
override: 'Ext.grid.CellEditor',
onViewRefresh: function() {
this.field.column = this.field.column || {};
this.callParent();
}
});
The bug only becomes apparent when using a regular propertygrid with default editors and calling .setSource() after any field has been edited, which triggers onViewRefresh on the CellEditor.
[4.2.3] CellEditor in propertygrid misses field.column reference
Aucun commentaire:
Enregistrer un commentaire