Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 June 19, 2010 21:59:47

Bjørn H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

django - Datagrid


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:,
colModel:,
rowNum:10, rowList:, 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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 15th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support