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?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top