I am developing a rails application.I am using server side processing and pagination to load data. Adding CSV download only downloads the data displayed on the present page.How to download the whole data?
This is my code(coffee script) $(document).on 'turbolinks:load', -> $('#search-table').dataTable dom: 'lBfrtip' buttons: [ { extend: 'csvHtml5' filename: 'search_results' text: 'Download CSV' className: 'btn-info' exportOptions:{ columns: [0,1,2,3,4,5] } }