Add cell background colors while exporting the table to xls/pdf
Add cell background colors while exporting the table to xls/pdf
Hi experts, I am kinda new to the DataTables, and I am using it for a table that has its cells colored differently based on the data that they hold. I am making use of the Buttons extension to export the table into xls and pdf. I have been able to export table's textual data successfully, however, the cell colors do not reflect when they are exported. I tried searching a solution for this in the documentation, but ended up getting nothing. Is there a way to achieve this with datatables, if there is one, then how? please help me guys. Thanks in advance :)
Answers
Did you end up solving it?
This thread has some good info about customizing the Excel output.
https://datatables.net/forums/discussion/38964/datatables-export-data-to-excel-issues#latest
Kevin