page-break-inside not working in Tables HTMLtoPDF

page-break-inside not working in Tables HTMLtoPDF

  
 My application generates dynamic content into PDF. I have a table in the dynamic content that may contain more than 1 item. The problem is when multiple items are in the table record, the table is split like this.
I have been searching around google for solutions but none of them seem to work. Also around forums, I have already tried everything.