Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.ruby-version
Gemfile
Gemfile.lock
MIT-LICENSE
README.textile
Rakefile
gridion.gemspec

README.textile

Gridion

License: MIT-LICENSE

Features

Use grid helper to render table with various options.

grid(@patents, :object_class=>Patent, :columns=>%w(coverage_countries_serial patent_number_serial title grant_date status availability_serial), :actions=>nil, :paginate=>false, :skip_field_class=>true, :render_empty_grid=>true, :object_class=>Patent)

Parameters

render_empty_grid

Render grid even if there is no data, you need to use that with :object__class as there is no model the grid could use to extract metadata against.

paginate

Turns on pagination (Kaminari required)

skip_field_class

Turn off all field (th/td) column class name

Something went wrong with that request. Please try again.