Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
setGridWidth returns col[n] not defined error
06/10/2010
16:33
Avatar
rheenen
New Member
Members
Forum Posts: 1
Member Since:
06/10/2010
sp_UserOfflineSmall Offline

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?

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
20 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information