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_TopicIcon
Default Filter(s) fail in IE7; Work great in FireFox
22/06/2010
01:00
Avatar
Jamal
Member
Members
Forum Posts: 6
Member Since:
22/06/2010
sp_UserOfflineSmall Offline

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:

A Runtime Error has occurred
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:

var mygrid = jQuery("#speed").jqGrid({   
       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}
);

22/06/2010
18:37
Avatar
Jamal
Member
Members
Forum Posts: 6
Member Since:
22/06/2010
sp_UserOfflineSmall Offline
Moderator, please move this to the Bugs forum.
30/06/2010
16:12
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

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.com

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information