Module: EacRailsUtils::DataTableHelper

Defined in:
app/helpers/eac_rails_utils/data_table_helper.rb,
app/helpers/eac_rails_utils/data_table_helper/setup.rb,
app/helpers/eac_rails_utils/data_table_helper/column.rb,
app/helpers/eac_rails_utils/data_table_helper/data_table.rb

Defined Under Namespace

Classes: Column, DataTable, Setup

Instance Method Summary collapse

Instance Method Details

#data_table(dataset, &block) ⇒ Object


9
10
11
# File 'app/helpers/eac_rails_utils/data_table_helper.rb', line 9

def data_table(dataset, &block)
  ::EacRailsUtils::DataTableHelper::DataTable.new(self, dataset, &block).output
end