Forum
16:33
06/10/2010
This bug has been following me since v3.6, still in v3.7.2 and now in v3.8: When using setGridWidth() in my $(document).ready() code, it seems the colModel is not completely initialized yet... somehow....
I get the error that has been reported here several times before, in which cases a fix has been submitted, but I can still reproduce the problem.
The only way I solved this issue is by inserting this code in grid.base.js inside the setGridWidth function, at line 2866:
if (lvc == null)
{
return;
}
Just before this line of existing code:
$t.p.colModel[lvc].width += cr;
In other words, it seems it is assumed that 'lvc' always gets a value by the code above, but in my case it just doesn't.
Should this be fixed in a next release, perhaps in a more 'proper' way?
Most Users Ever Online: 715
Currently Online:
44 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66