Multiple tables + dynamic row/table show + tester app

Jan 29, 2016 at 9:17 AM
Hi there,
Thanks for this interesting project, the best PDF templating tool so far!
I wanted to use it in some projects of mine but I hit some limitations. So, I forked this project and worked on my gihub here

I added the following fonctionnalities :
  • Added an tester app
  • Added support for multiple tables : just add tables inside body tag, and add table data inside body data
  • Table won't show if associated data is null : just in case there is no data, it wont just print table headers in the middle of the document
  • Added condition on body items to hide item if associated data is null : add support for dynamic item display : row or table inside body can have an optionnal attribute that maps to a boolean data property, which toggles display
These new fonctionnalities are testable through sample app

Since some people have already asked these fonctionnalties here, i think it could be a good idea to merge it here.
What do you think about it ?
Feb 1, 2016 at 11:23 AM
Ok, we'll study the modifications.
Thanks a lot,

Jaime López.