Ext version 4.2.3

Problem:

When try resize column in Tree with many columns it may be collapsed.


It occurs because in method getConstrainRegionof class Ext.grid.plugin.HeaderResizer variable maxColWidth compute as



Code:



maxColWidth = me.headerCt.getWidth() - me.headerCt.visibleColumnManager.getColumns().length * me.minColWidth;

And for Tree (or Grid) with many columns it became negative.

Some solutions may be:



  1. Check if maxColWidth < 0 and do not allow resize,

  2. use me.maxColWith instead of computed (such in previous version).