Bjorn, I got this working. The way I fixed it was..
I downloaded jqGrid again and selected all the libraries to be included. My guess is that navGrid isn't bundled with the core grid. I dont know this for sure. Its working for me now. Tom On Jun 19, 3:59 pm, Bjørn Høj Jakobsen <[email protected]> wrote: > Hi > > Is there anybody who has implemented jqqrid 3.7 with json and made it > work?. > > I keep getting an error from FF > > Error: uncaught exception: jqGrid - No such method:navGrid > > <script src="http://127.0.0.1:8000/static/jquery/js/ > jquery-1.4.2.min.js"></src </script> > <script src="http://127.0.0.1:8000/static/jquery/js/jquery- > ui-1.8.2.custom.min.js"></src </script> > <link rel="stylesheet" type="text/css" media="screen" href="http:// > 127.0.0.1:8000/static/jquery/css/dark-hive/jquery- > ui-1.8.2.custom.css" /> > <link rel="stylesheet" type="text/css" media="screen" href="http:// > 127.0.0.1:8000/static/jqgrid/css/ui.jqgrid.css" /> > <script src="http://127.0.0.1:8000/static/jqgrid/js/i18n/grid.locale- > en.js" type="text/javascript"></script> > <script src="http://127.0.0.1:8000/static/jqgrid/js/ > jquery.jqGrid.min.js" type="text/javascript"></script> > <script src="http://127.0.0.1:8000/static/jqgrid/src/grid.jqueryui.js" > type="text/javascript"></script> > <script src="http://127.0.0.1:8000/static/jqgrid/src/ > ui.multiselect.js" type="text/javascript"></script> > > js looks like this: > > jQuery("#list2").jqGrid({ url:'/xhr_test', dataType: "json", > > colNames:['Country Name', 'Country Code', > 'Nationality Code','Added Date'], > colModel:[ > > {name:'countryname',index:'countryref', width:90}, > > {name:'countrycode',index:'countrycode', width:100}, > > {name:'nationalitycode',index:'nationalitycode', width:80, > align:"right"}, > > {name:'added_date',index:'added_date', width:80, align:"right"} ], > rowNum:10, rowList:[10,20,30], pager: '#pager2', sortname: 'id', > viewrecords: true, sortorder: "desc", caption:"JSON Example" }); > > jQuery("#list2").jqGrid('navGrid','#pager2', > {edit:false,add:false,del:false}); > > Regards > > Bjørn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

