Excel, CSV, Google Spreadsheet, XML, JSON, and PHP Array-based tables are all non-server-side tables that are directly linked to the source file.
This means that they fetch all the rows, output the entire table to the front-end all at once, and then split it into pages using JavaScript; all data processing (page switching, sorting, filtering) is done on the client’s computer by JavaScript.
Since the entire table is outputted to the front-end, the entire table will be seen by the Table Export Tools and there's no way to change this behavior for non-server-side tables. Only if you import the source file, to get a manual table, then you would be able to export only the visible rows.
Hello
I'd like to be able to limit the # items in download to CSV. For example, first 25 or 50 items only.
Is this possible?
Hello Syed,
Thank you for reaching out to us.
Excel, CSV, Google Spreadsheet, XML, JSON, and PHP Array-based tables are all non-server-side tables that are directly linked to the source file.
This means that they fetch all the rows, output the entire table to the front-end all at once, and then split it into pages using JavaScript; all data processing (page switching, sorting, filtering) is done on the client’s computer by JavaScript.
Since the entire table is outputted to the front-end, the entire table will be seen by the Table Export Tools and there's no way to change this behavior for non-server-side tables. Only if you import the source file, to get a manual table, then you would be able to export only the visible rows.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you. What about for MySQL tables? With server-side processing?
Hi, Syed
Sorry for all the waiting time.
For number of rows that gets exported, while using the Table Export Tools :
- If the table is non-server-side, or linked to a file-source; then all rows will be exported;
- If the table has server-side processing enabled, such as Manual tables ( they always have it "forced as enabled");
or SQL Tables ( for them you can toggle Server-side processing);
then it will only export the visible rows.
- If you use any filtering on the tables > only the filtered rows will be exported.
Let us know if you have any questions Thank you
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables