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
'p.rownumbers' is null or not an object on IE8
08/10/2012
16:10
Avatar
gkgeorgiev
New Member
Members
Forum Posts: 2
Member Since:
08/10/2012
sp_UserOfflineSmall Offline

Dear All,

I've been using for quite a while jqGrid and I encountered number of issues. Most of them I fixed by googling but this one I can't fix by my own.

I get the following error when I'm testing the application on IE8(even in compatibility mode):

Message: 'p.rownumbers' is null or not an object
Line: 123
Char: 121
Code: 0
URI: http://localhost:7213/afis/urt.....tom.min.js

The same code works on FF 15 perfectly.

    

$(function(){

jQuery("#mbxSelection").jqGrid({
            datatype: 'local',
            colNames:['ID', 'Friendly Name', 'Description','Status',''],
            colModel:[
               {name:'name',index:'name', width:100, editable:true, edittype:'text', editoptions:{required: true, size:"20",maxlength:"255", class: "jqGridCell required"}},
               {name:'friendlyName',index:'friendlyName', width:120,editable:true, edittype:'text', editoptions:{required: true, size:"20",maxlength:"255", class: "jqGridCell required"}},
               {name:'details',index:'details', width:150, align:"right",editable:true, edittype:'text', editoptions:{size:"20",maxlength:"255", class:"jqGridCell"}},
               {name:'status',index:'status', width:100, align:"center",editable:true, edittype:'custom', editoptions:{custom_element: customCheckBox, custom_value:getSetCustomCheckBoxValue, style: "width:10px;"}},
               {name:'action',index:'action', editable:false, width:20, align:"center"}
            ],
            edit : {
               recreateForm: true,
            },
            editurl: "clientArray",
            sortname: 'name',
            sortorder: "desc",
            height: "100%",
            caption: "MAB Mailbox(es)",
            onSelectRow: onSelectMailboxRow
         });

});

The jqGrid librariy I use is version 3.8.1.

Does anyone have any idea what's going on?

09/10/2012
12:47
Avatar
gkgeorgiev
New Member
Members
Forum Posts: 2
Member Since:
08/10/2012
sp_UserOfflineSmall Offline

Just in case, if anybody encounters the same issue - it is the "class" attribute in the jqGrid colModel. It must be wrapped by quotes, because apparently it is some key word in IE7/8.

Stupid but it took me some time to realize it!

11/10/2012
17:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks, but you use a very old version. This problem was fixed from long time.

Thanks anyway.

Regards

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:
53 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