Integer
11 Feb 2007, 5:25 AM
Hello everybody,
I have a problem with the Grid Example that comes with YUI Ext.
All I did was extending the number of columns, so that the grid holds 22 columns. I am using the "array-grid" example for this.
If i do so, the 22nd column is not rendered correctly (see the screenshot) and the text for the 22nd column appears in the first column.
If I have 21 columns the rendering ist correct:
http://img245.imageshack.us/my.php?image=nobugwhentableis21columqr1.jpg
As soon as i add the 22nd column the rendering is broken and the stuff that should make up the 22nd column moves to the 1st one:
http://img50.imageshack.us/my.php?image=bugwhentablelargeras21cse0.jpg
The code for this only consists of just adding the columns to the DefaultColumnModel and adding the content to the DefaultDataModel.
Has anybody a clue, what is wrong here and how can i make more than 21 columns render correctly? Is it a bug?
Thanks in advance for any thoughts on this.
Help is greatly appreciated.
I have a problem with the Grid Example that comes with YUI Ext.
All I did was extending the number of columns, so that the grid holds 22 columns. I am using the "array-grid" example for this.
If i do so, the 22nd column is not rendered correctly (see the screenshot) and the text for the 22nd column appears in the first column.
If I have 21 columns the rendering ist correct:
http://img245.imageshack.us/my.php?image=nobugwhentableis21columqr1.jpg
As soon as i add the 22nd column the rendering is broken and the stuff that should make up the 22nd column moves to the 1st one:
http://img50.imageshack.us/my.php?image=bugwhentablelargeras21cse0.jpg
The code for this only consists of just adding the columns to the DefaultColumnModel and adding the content to the DefaultDataModel.
Has anybody a clue, what is wrong here and how can i make more than 21 columns render correctly? Is it a bug?
Thanks in advance for any thoughts on this.
Help is greatly appreciated.