View Full Version : [FIXED] grid column count does not work in ext >=4.2.1

18 Nov 2013, 2:17 PM
I found a problem with the count of grid columns in ext 4.2.1 and 4.2.2

In the first example (ext version i can add columns dynamically.
The grid.columns.length get the correct count (look at the column headers)

In the second example is exactly the same code only with version
the grid.column.length value is always one.

T (http://jsfiddle.net/nblum/u9RJM/1/)he Problem occurs only with dynamically added columns

any ideas how i can solve this issue in ext 4.2.2

Gary Schlosberg
18 Nov 2013, 2:44 PM
Thanks for the report! I have opened a bug in our bug tracker.

18 Nov 2013, 3:03 PM
This is not a bug. columns is a configuration passed to the grid, it's not a documented property, nor is the collection ever maintained.

You can use:


19 Nov 2013, 12:48 AM
thanks, nice solution