Sha256: 6d9d7981755c67fcb2f25d8bcd0caadb28486718ab1daf335e3be5b59c5ae264

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

# encoding: utf-8
class CsvAndDetachedFiltersController < ApplicationController
  def index
    @tasks_grid = initialize_grid(Task,
      name: 'grid',
      enable_export_to_csv: true,
      csv_field_separator: ';',
      csv_file_name: 'tasks'
    )
    export_grid_if_requested('grid' => 'grid')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb
wice_grid-7.1.3 spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb
wice_grid-7.1.2 spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb
wice_grid-7.1.1 spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb
wice_grid-7.1.0 spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb