TableTools CSV export selection based on checked box in DOM?
TableTools CSV export selection based on checked box in DOM?
Is it possible to get CSV export to be based on the actual content of table cell, instead of where user clicks? We have a table where the first column contains checkboxes. When the page is rendered only some are checked. We want PDF/CSV export to include only those.
fnGetSelected seems to be based on whether or not a user clicks somewhere in a row. Can I attach this listener to actual content in the DOM instead?
many thanks for a great product that just gets better and better.
Answers
Looks like there's a solution here, in case anyone else is trying to do this:
http://datatables.net/forums/discussion/11875/add-checkbox-to-each-row-in-datatable-for-selecting-rows