PDA

View Full Version : Numbercolumn is not working, Gridcolumn does work



LizMyself
5 Jun 2014, 1:28 AM
Hey together,

I have a grid with dynamic loaded data.

It works fine with


var oNewColumn = Ext.create('Ext.grid.column.Column');

but it doesn't work with


var oNewColumn = Ext.create('Ext.grid.column.Number');

If i take the numbercolumn I just got the header, but no rows, even no empty rows.

I checked the Data, it is all fine and the store is loading correct, it is also a number.

In the Browser I get following message:

Error: Maximum call stack size exceeded

If I have 5 rows, I get it 5 times, if I have 30 rows, I got it 30 times.

Do I have to configurate the Numbercolumn?

I'm sorry I can't post more code, because it is a little bit splitted in different files.

Thanks!

LizMyself
5 Jun 2014, 1:58 AM
I tried the sample from Sencha from this page:
http://docs-origin.sencha.com/extjs/4.2.2/#!/api/Ext.grid.column.Number

I get the same mistake!

Gary Schlosberg
5 Jun 2014, 6:25 AM
I added the example to this Fiddle, but I've been unable to recreate the issue you described.
https://fiddle.sencha.com/#fiddle/6d3

Any suggestions?