voilab / voilab-pdf-table

PdfKit wrapper that helps to draw informations in simple tables
MIT License
52 stars 26 forks source link

Table not displaying cells with a value of 0 #25

Closed njeri-ngigi closed 5 years ago

njeri-ngigi commented 5 years ago

Steps to reproduce:

Is this a bug? Does it have a work-around?

Drieger commented 5 years ago

I think the problem is in this line of code

https://github.com/voilab/voilab-pdf-table/blob/fa1f0f30031efa72c534b88a58dd36f14f114945/voilab-table.js#L91

While it is not fixed! You might try to pass values as strings, or provide a renderer to handle this case.

tafel commented 5 years ago

Please try with new version 0.5.0