We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<%= define_grid(@individuals_grid, hide_submit_button: true, hide_reset_button: true, hide_csv_button: true) do |g| g.blank_slate do "Sem registros encontrados" end # HTML g.column in_html: false, in_csv: true, name: 'Data Criacao', attribute: 'created_at', filter_type: :date, ordering: false, detach_with_id: :created_at_filter do |task| l(task.created_at, format: :default_date) end end -%>
@individuals = Registration::Individual.all @individuals_grid = initialize_grid(@individuals, per_page: 50, name: 'individuals', enable_export_to_csv: true, csv_field_separator: ';', csv_file_name: "#{DateTime.now.to_date}-individuals" ) if params[:individuals] && params[:individuals][:export] == "csv" export_grid_if_requested('individuals' => 'registration/individuals/grids/individuals_grid') do render :index end end
where you are wrong?
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Please follow these guidelines: https://github.com/leikind/wice_grid/wiki/How-to-submit-a-bug-report-or-a-question
No branches or pull requests
_individuals_grid.html.erb
MyController
where you are wrong?
The text was updated successfully, but these errors were encountered: