1

I want to export data to PDF from a dynamic table, all the plugins use static tables, I mean by dynamic tables that they are created when I make request to export data and the user can't see these tables .

I need this because the way that the users see the data is different from the way that I want to print .

I'm using AngularJs in front end side and Nodejs in backend side to build my application

I tried to use this package : https://www.npmjs.com/package/angular-save-html-to-pdf

this is an example from the documentation :

<button pdf-save-button="idOne" pdf-name="someone.pdf" class="btn">Hello 
Someone</button>
<!-- below block will be saved as pdf -->

<div pdf-save-content="idOne" >
    Hello Someone
</div>

the solution I want is to create and print the data in side the div dynamically when the button is pressed. now what is the best practice to solve this problem ?

1 Answer 1

1

You can use Angular-UI-Grid Export future... It handles dynamic data and has some export futures..

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you I will check it .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.