Export PDF Custom

Export PDF Custom

Massimo74Massimo74 Posts: 50Questions: 0Answers: 0

sorry I have this export that works well, but I would like to fix the graphics for example ... 1st I would like the table to occupy the whole sheet and not just a part. 2nd the salary column I would like to align to the right, so do you like recommended? Here

Replies

  • Massimo74Massimo74 Posts: 50Questions: 0Answers: 0
    edited July 11

    Here in column "Extn" "Export-pdf" >>>return '<span style="color:' + color + '" class="pull-right" style="text-align:right">'+(data)+' €</span>';
    NOT WORK
    on display is GOOD

  • Massimo74Massimo74 Posts: 50Questions: 0Answers: 0

    I HAVE FOUND THE SOLUTION, BUT I HAVE A PROBLEM WITH THE COLUMNS WHEN I MAKE THEM INVISIBLE, THEY COUNTING THE COLUMNS IN THE SHEET CANNOT REFER TO THE COLUMN TARGETS or the type of data in the column (text or numeric)
    because in this way he checks the exported columns
    HERE

  • colincolin Posts: 5,407Questions: 0Answers: 940

    Hi @Massimo74 ,

    I'm not clear what the problem is. If it's only visible rows are exported, it's because you have this,

                        exportOptions:{
                          columns:':visible:not(.not-export-col)',
                          orthogonal: "Export-pdf"
                        },
    

    which is saying only export visible rows.

    If not, can you give steps to reproduce, please.

    Cheers,

    Colin

Sign In or Register to comment.