css styles not applied on export
css styles not applied on export
maro
Posts: 2Questions: 1Answers: 0
whenever i export a datatable, the style classes within the table are not applied. Any help
This discussion has been closed.
Answers
Hi @maro ,
Yep, that depends on each of the export types, for example PDF is different to Excel. You need to create the style you want for each type, see here for PDF for example.
Cheers,
Colin
thanks for your suggestion but that did not work.
The table i have has got some css references. But whenever i export, those styles are ommited.
That's right, the styles only apply to the DataTable, not the exported data - styles are different for each export type so they need to define manually yourself in those export options.
C