Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This plugin allows you to add jQuery datagrids very easily to your Rails applications.
Ruby JavaScript
branch: master

This branch is 9 commits ahead of ahe:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
public
spec
test first commit
.gitignore
.rspec
MIT-LICENSE first commit
README.rdoc
Rakefile
init.rb Update jqgrid to 3.8.1 and rewrite controller template
install.rb
uninstall.rb Execute install/uninstall rake tasks from corresponding plugin scripts.

README.rdoc

Sorry,i'm no longer update the plugin,please use the fork :github.com/springbok/jqgrid-rails3

a plugin base on 2dcJqgrid for rails3 to use jqgrid

This Rails plugin allows you to add jQuery datagrids into your applications.

Following features are supported :

  • Ajax enabled

  • Sorting

  • Pagination

  • Search

  • CRUD operations (add, edit, delete and read)

  • Multi-selection (checkboxes)

  • Master-details

  • Themes

  • And more …

Install and Uninstall

$ rake jqgrid:install

$ rake jqgrid:uninstall

Generator

You can now generate a grid using a command like this one :

$ rails generate jqgrid user id pseudo email firstname

it will create a controller and a view file to the app path,and you must change route to use it ,you can see it in the

controller.

Use

You can use it simple,eg;

$ <%=jqgrid_javascripts%>

$ <%=jqgrid_stylesheets%> 

if you want to use other theme,you cna change it like :

$ <%=jqgrid_stylesheets "theme"%>

the theme in /public/stylesheets/jqgrid/themes/,you can custom a jquery ui theme,and copy the file into the path

Copyright © 2010 Anthony Heukmes, released under the MIT license

My gmail account : doinsist@gmail.com

Something went wrong with that request. Please try again.