PDA

View Full Version : [OPEN-1306] groupingstore, hide/show column => columnsize not correct



RedJane
3 Oct 2010, 12:03 PM
Don't know if it is already asked/reported (couldn't find a solution):

When you hide/show a column in a groupingstore.grid that column is getting smaller and smaller in size the more you click hide/show that column. It only happens in a grid with a groupingstore.

Just try and see (original example)
http://dev.sencha.com/deploy/dev/examples/grid/grouping.html

RedJane
9 Oct 2010, 1:48 AM
Happens also when the grid is loaded in a tab (groupingStore or not)

Condor
9 Oct 2010, 1:56 AM
This has been reported before.

Cause:
Showing a column will call updateColumnHidden() -> layout() -> fitColumns() without passing the current column as the third argument.