Grid HeaderCt resize problem

Hello,

If you look at the infinite grid, or I assume any grid in this case, do the following:

Ext.ComponentQuery.query('grid')[0].headerCt.setHeight(70)

After setting the height, when you resize a column header, the underlying column does not change its size. This is new in 4.1 because I was using it fine it 4.0. I need to resize the columns because we put filters in the headers. Any Thoughts?

The columns are still small but the header container is sized. The header container uses the gridcolumn layout which is an extension of HBox. The layout is hardcoded in the header container to use align : 'stretchmax' but since you can pass a header container config you can pass in the layout. Here is an edited example:

Then the fun begins. Go back to your grid instance, and add the following. Please note that the grid is given a internalGridId in the config. The min max column filter is created with the createMinMaxColumnFilters method.

Sorry, Cant they make the code section a bit wider? I dont know how anyone can interpret it. Anyways, our column model is generated in getColumnModel(gridId), where gridId is just something to append to the end of the div ID that it will create. We put all of this in a static class.

That works. Thx for the tips / code. I might see if I can drop that into a plugin.

I should probably defer the loadmask to someone smarter than me, but in case no one else pipes up:
relay the beforeload and load events to the component being loaded by the store and in the listener do setLoading() perhaps?