Simple Datatable¶ ↑
<img src=“https://codeclimate.com/github/Ruby-SG/simple_datatable/badges/gpa.svg” /> <img src=“https://codeclimate.com/github/Ruby-SG/simple_datatable/badges/coverage.svg” /> <img src=“https://travis-ci.org/Ruby-SG/simple_datatable.svg?branch=master” alt=“Build Status” /> <img src=“https://badge.fury.io/rb/simple_datatable.svg” alt=“Gem Version” /> <img src=“http://inch-ci.org/github/Ruby-SG/simple_datatable.svg?branch=master” alt=“Inline docs” /> <img src=“https://circleci.com/gh/Ruby-SG/simple_datatable.svg?style=svg” alt=“Circle CI” /> <img src=“https://badges.gitter.im/Join Chat.svg”
Installation¶ ↑
gem 'simple_datatable'
Usage¶ ↑
Generate¶ ↑
rails generate simple_datatable:install
Render datatable¶ ↑
= simple_datatable(cols = [], html_options = {})