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
IE7 'this/rows.0.cells' is null or not an object
28/10/2010
12:38
Avatar
jackkitley
Member
Members
Forum Posts: 4
Member Since:
18/08/2010
sp_UserOfflineSmall Offline

Hi everyone, ive been trying to find what waas causing this error for quite some time with IETESTER.

I eventually found the problem and it appears to be very odd.

I create my grid as it should be created from demo's that i have seen, i have there two elements as my placements:

<table id="list" ></table>
<div id="pager"></div>

The problem is when this happens:

<div class="grid_15" id="flexicontent">

<table id="list" ></table>
<div id="pager"></div>

</div>.

As soon as the two placement elements are put into a div element that  'this/rows.0.cells' is null or not an object error comes up.

It very odd and i need it to be in the div because this is for the styling of the website so it cant be left out.

Any help would be fantastic.

28/10/2010
13:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

This is not a bug.

The problem I think is that you attach a grid to a div element and not to a table.

Using the last version will prevent this with error message.

I suppose you use version prior to 3.8.x

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.

28/10/2010
14:06
Avatar
jackkitley
Member
Members
Forum Posts: 4
Member Since:
18/08/2010
sp_UserOfflineSmall Offline

Hi Tony, no, im attaching the grid to a <table element.

 * jqGrid  3.8 - jQuery Grid
 * Copyright (c) 2008, Tony Tomov, tony@trirand.com is the version im using.

//My CODE

<div class="grid_15″ id="flexicontent">

<table id="list" ></table>
<div id="pager"></div>

</div>

jQuery(document).ready(function(){

jQuery("#list").jqGrid({
        url:'/clubs/event_contacts_view_data',
        datatype: 'json',
        mtype: 'POST',
        colNames:[

You can see that im attaching the grid to the #list table element.

Thanks

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
25 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