Skip to content

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

License

Notifications You must be signed in to change notification settings

springbok/jqgrid-rails3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a plugin base on 2dcJqgrid for rails3 to use jqgrid

Now supports jqgrid V4

Please note: The latest version has changed the modal setting for the edit/add forms to be false rather than true. The reason for this is when modal is true then it causes all sorts of problems with datepicker when the datepicker field is the first field. If this is not desirable for you fork the project and change as required.

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 72.2%
  • Ruby 21.9%
  • CSS 5.9%