Forum


01:00

22/06/2010

I need help understanding why the code below works great in FireFox 3.6.3, but fails in IE7 & IE6.
jQuery Grid versions tested: 3.6.5 (using jQuery 1.3.2) and 3.7.1 (using jQuery 1.4.2).
I would greatly appreciate any help.
IE7 Error message:
Do you wish to Debug?
Line: 569
Error:'find(…).0' is null or not an object
**The line number reported by IE7 corresponds to the setFilter function in jquery.searchfilter.js
Code:
url:'get_some_data.php',
datatype: "JSON",
height: 140,
width: 950,
colNames:['User ID','Last Name', 'First name', "Phone", "Email"],
colModel:[
{name:'uid',index:'uid', width:65},
{name:'lname',index:'lname', width:65},
{name:'fname',index:'fname', width:65},
{name:'phone',index:'phone', width:65},
{name:'email',index:'email', width:65}
],
rowNum:6,
rowList:[10,20,30],
mtype: "POST",
rownumbers: false,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'uid',
viewrecords: true,
sortorder: "asc",
hidegrid: false,
caption: "All Users",
search:true,
postData: {
"filters":'{"groupOp":"and","rules":[{"field":"uid","op":"eq","data":"100"}, {"field":"lname","op":"eq","data":"test"}]}'
}
});
mygrid.navGrid('#speedp',
{edit:false,add:false,del:false,search:true,refresh:false, searchtext:"Search" },
{},
{},
{},
{multipleSearch:true}
);
16:12

Moderators
30/10/2007

Hello,
Please search this form, there is a solution for this.
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:
67 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