Forum
09:22
08/07/2009
I've started having IE 7 complain (but only intermittently so it seems like possibly a timing issue????) if I use a jQuery object as the value of the grid's pager attribute. The docs indicate you can use either
pager: jQuery('#nameOfMyPager') OR
pager: '#nameOfMyPager'
But if I use the jQuery version IE 7 complains some of the time on the pginp = line in setPager of grid.base.js:
setPager = function (){
var sep = "<td class='ui-pg-button ui-state-disabled' style='width:4px;'><span class='ui-separator'></span></td>",
pgid= $(ts.p.pager).attr("id") || 'pager',
pginp = (ts.p.pginput===true) ? "<td>"+$.jgrid.format(ts.p.pgtext || "","<input class='ui-pg-input' type='text' size='2' maxlength='7' value='0' role='textbox'/>","<span id='sp_1'></span>")+"</td>" : "",
giving "Error: object doesn't support this property or method".
I can (without changing anything in the page/code) hit Ctrl-Refresh and sometimes have it load fine without that error and other times get the error which does prevent loading of the grids. I've experienced it on lots of different grids with different configurations. But fortunately if I just change it to use the string version of setting pager attribute, it doesn't seem to ever give the error.
Just wondering if anyone else has ever seen this or would have any ideas on it's cause. If I can get time I'll try to replicated it with a simple test cased based on one of the demos.
Lynn
09:37
Moderators
30/10/2007
Hello,
Lynn. This is a very strange. Is this only in IE7? Also does this occur in IE6 or IE8?
Bets Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
05:07
Moderators
30/10/2007
Hello,
Could you provide a test case. A link to the problem will be very helpfull.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
09:06
18/06/2009
Unfortunately I cannot give you a link as it is not accessible outside the intranet..
It seems the function for setPager is not able to make a call to $.jgrid.format.. so as an experiment I tried putting in the string directly instead of the call to format.. so that solved the issue but I see similar issue at different places. everynow and then the calls to other functions like striphtml fails and give the error “Error: object doesn't support this property or method”.
Not sure why..
FYI: I am using the noConflict on my page.
also my i have 4 grids each on a different tab inside the jQuery tab control
09:23
Moderators
30/10/2007
Hello,
Could you please load landuage file before jqGrid and test.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
91 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