Project

gridion

0.0
No commit activity in last 3 years
No release in over 3 years
Simple grid helper for rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

> 3.1.0
 Project Readme

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