simonbengtsson/jsPDF-AutoTable

Change row colors on page break

hugolopes3d opened this issue · 1 comments

Hi, i am trying to change the background colors of a table whenever is divided due to a page break.

I tried to get the pageNumber on the didParseCell hook, but the value is always 0. On the willDrawCell hook i managed to get the pageNumber but overriding the data.cell.styles.fillColor doesn't work.

Any suggestion on how to do it?

This issue will soon be closed since issues in this project are mainly meant to be bugs or feature requests. Questions are directed to stackoverflow.