DataTables从MySQL表导出所有记录

Normally if you want to export data in .csv format as an example, using DataTables the Grid with the records (which records are retrieved from a MySQL Table) should be exported.

I would like to ask although my Grid show some records(which I want only to show) how can I retrieve all the records from the Table which flood the Grid with some of them ?

enter image description here

https://www.datatables.net/extensions/tabletools/

The CSV exporter will happily download the entire dataset in the table, not just the visible ones, so in your example it will download all 50 entries, not just the 10 you can see.

If you want to download the contents of a MySQL table in CSV format, you should perhaps consider using phpMyAdmin