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
$.jgrid undefined error in 3.5
03/07/2009
19:22
Avatar
zacheryph
New Member
Members
Forum Posts: 2
Member Since:
04/07/2009
sp_UserOfflineSmall Offline

i'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.

03/07/2009
19:35
Avatar
zacheryph
New Member
Members
Forum Posts: 2
Member Since:
04/07/2009
sp_UserOfflineSmall Offline

i just tried this with master (143b0e52dd5) from git and it works fine.  is the 3.5beta on the website known to not work?

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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