views:

869

answers:

2

Anybody out there who have tried to use JQGrid a Jquery plugin with django?

Please share your knowledge/code samples

Gath

A: 

I'm trying to use it for the first day today. Right now I have imported an existing jquery app into a django project/app and now trying to get jqgrid to work with it. The thing I'm running into is having the javascript file actually call the python script for the json call for jgrid.

I have no idea if this is working or not...I watch the apache logs and I don't see the file being served. I can reach the python script fine in the browser directly.

Right now I'm just trying to go around django and get it to work with straight html/python/javascript. In the example they just have the javascript file call a php file like this.

url:'server.php?q=1',

well mine is located at like http://localhost/pythonScripts/server.py with mod_python running. I would love to get this working, but it is going to take alot of trial and error. Hopefully I can eventually get it all the way to django.

+1  A: 

I've find a project that has already implemented integration look at Google code http://code.google.com/p/django-jqgrid/