Skip to content

chrisroberts/jqgrid_rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JqGridRails

Providing easy ways to build grids within Rails

About

JqGridRails is a helper plugin to build grids using jqGrid. It provides a number of features to allow a minimal amount of effort to build grids. However, it is also built with the maximum amount of flexibility in mind. As such, it provides easy access to all the capabilities jqGrid has to offer and allows the application to choose how much support is automatically provided.

Installation

RubyGems

Add JqGridRails to your applications Gemfile:

gem 'jqgrid_rails'

Or, if you want the bleeding edge, point to the repository:

gem 'jqgrid_rails', :git => 'git@github.com/chrisroberts/jqgrid_rails.git'

Setup

If you are in Rails 2, add the tasks to the bottom of your Rakefile (not needed for Rails 3):

require 'jqgrid_rails/tasks'

And run the install task:

rake jqgrid_rails:install

Loading assets

Use the javascript and stylesheet expansions to load jqgrid

<%= javascript_include_tag :jqgrid_rails %>
<%= stylesheet_link_tag :jqgrid_rails %>

Building grids

TODO

History

jqgrid_rails was originally created by Nick Ewing.

Contributors

Resources

License

  • Continuing with the MIT license. See LICENSE.rdoc