View Full Version : Ext 6 Modern - Ext.grid.column.Column not obeying flex

2 Jul 2015, 7:40 PM
Hi, I have a problem with the grid in the Ext 6 modern toolkit. I cannot get the grid to fill the page and the columns to respond to their flex configurations. If I set widths on the columns I get this:


But when I remove the widths and add flex I get this:


The panel the grid is in has layout : 'fit', but this doesn't seem to make the columns stretch to fill the available space.

Has anyone else had this issue and found a solution?

2 Jul 2015, 8:11 PM
Flexing isn't currently supported in the modern grid, we're looking to add that feature soon.

5 Jul 2015, 2:40 PM
Is there any other way to make the grid fill the panel even if it means having no control over the width of the columns?

5 Jul 2015, 4:29 PM
Sure - try setting the layout on the panel to fit and make sure the grid is the only child item.

5 Jul 2015, 4:55 PM
I tried that. If the columns don't have a width they just get rendered inline, don't remain aligned to each other and don't fill the available space.

15 Sep 2015, 7:12 PM
Here's a package with a plugin for supporting flex on modern grids: https://github.com/JarvusInnovations/jarvus-gridflex