Dynamically change the rows that get exported to PDF.

Dynamically change the rows that get exported to PDF.

akhilkathiakhilkathi Posts: 1Questions: 1Answers: 0

I have arrow-steps and I am showing only one table but changing the columns visibility on each arrow-step. How to dynamically change the rows that get exported to PDF on each arrow-step. I am using rows option.
'buttons':[{exportOptions : {rows:$("step2").hasClass("active")==true)? ".selected" : null}}]
But instead of showing all rows in previous step none are showing and all records are showing in step2.
I have also tried search and filter options but all records(rows) with the selected class are not showing in the PDF wile exporting datatable. Only

Answers

  • colincolin Posts: 8,150Questions: 0Answers: 1,364

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.