Control Styling export PDF

Control Styling export PDF

itajackassitajackass Posts: 121Questions: 37Answers: 3

I don't found any docs about my problem.
I want to export a table. In my table I create every X rows, a row displaying totals of prev rows. All text in this row (with class .trTotals ) are in BOLD style. But when i export to PDF, style is not keep.

Is there any way to keep BOLD style on somes rows checking by class for example?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,667Questions: 1Answers: 10,096 Site admin
    Answer ✓

    You can use the customize callback (see this example) to modify the pdf document. See the pdfmake documentaiton for the full list of their API methods, styling options and so on.

    In short it is possible to do, but its not trivial. Something we are working on for the longer term!

    Allan

This discussion has been closed.