Search code examples
jspdfjspdf-autotable

jsPDF + Autotable - add line under each row


Is it possible to add a line under each row in a jspd-autotable? i.e. not borders around every cell, just a bottom border on every cell.


Solution

  • In the end I managed to do this by hiding all of the borders and adding a fake row in between every row. I then set the height of every odd row (excluding the heading) to a small value and set the background colour to black. Bit of a hack but it works and looks good.