Forum
Topic RSS
19:22
04/07/2009
Offlinei'm running jquery 1.3.2 and downloaded the jqGrid from the website with the package creator (full, and what i wanted specifically) but i get this error in both safari 4.0 and firefox 3.5.
safari full worded error:
TypeError: Result of expression '$.jgrid' [undefined] is not an object. jquery.jqgrid.js:9
here is my code:
$(function() {
$('#po_order').jqGrid({
url: '/ajax/jq_purchase_orders',
datatype: 'json',
colNames: ['Order Date', 'Status', 'Total'],
colModel: [
{name:'order_date', index:'order_date', width: 100, sortable:true},
{name:'order_status', index:'order_status', width: 150, sortable:true},
{name:'po_total', index:'po_total', width: 100, sortable:true}
],
rowNum: 10,
rowList: [10, 20, 40, 50],
pager: $('#pager'),
sortname: 'order_date',
sortorder: 'desc',
viewrecords: true,
caption: 'Purchase Orders'
});.navGrid('#pager', {edit:false, add:false, del:false});
});
pretty much right from the examples on the website.
Most Users Ever Online: 994
Currently Online:
117 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
Log In
Home