Forum
12:38
18/08/2010
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.
13:29
Moderators
30/10/2007
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.
14:06
18/08/2010
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
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66