View Full Version : how to change autoExpandColumn when using grid.reconfigure ?

17 Sep 2010, 2:14 PM
The docs for grid contain:

Be aware that upon reconfiguring a GridPanel, certain existing settings may become
* invalidated. For example the configured {@link #autoExpandColumn} may no longer exist in the
* new ColumnModel.

This is confusing as 'autoExpandColumn' is not 'in' the ColumnModel. It is a config item in the gridPanel. How can I update this to a new value?

Thx, Richard

19 Sep 2010, 2:09 AM
I think this means that if you change the Column Model then the column that is specified to autoExpand may not be there in your new Column Model and so will fail.

You should be able to change to autoExpandColumn by setting it as you would a normal property.