I have a grid with Ext.grid.plugin.RowWidget. When grid is resized expanded row body components remains with origin width. How I can fix this issue?
As temporary solution I added resize
event handler as follows
listeners: {
resize: function (grid) {
Ext.each(grid.query('characterPanel'), function (rowBodyComponent) {
//if(rowBodyComponent.isVisible()) does not work
//rowBodyComponent.updateLayout(); does not work
rowBodyComponent.setWidth('100%');
});
}
}
but it seems bad solution for me. Also, it has an issue - all row body components resized regardess of its visibility and in case of many collapsed (after expand) rows may affect performance of my app.
Any ideas?
Here is simple fiddle illustrating my problem and what I've tried already.