JSUtils icon indicating copy to clipboard operation
JSUtils copied to clipboard

Example HTML to properly use the table splite hack

Open gogades opened this issue 10 years ago • 4 comments

I'm trying to make use of the table split hack to manage a fairly large table and it's making quite a mess of it :-/

I was wondering if you would have a sample HTML page which renders a table across several pages properly so that I could see the best way it is done.

Much appreciated.

gogades avatar Mar 18 '14 19:03 gogades

The only thing I have left from that project are template examples that were used to generate relatively large html's. I have added a couple .erb files to the wkhtmltopdfTableSplitHack folder of the repo, please use them as a reference.

I will try to come up with a more actual usage example.

AAverin avatar Mar 18 '14 19:03 AAverin

Thanks, I will take a look !

gogades avatar Mar 18 '14 19:03 gogades

As it turns out, what I was missing was some of the css like the hidden class. Once I got that in place the rendering improved significantly.

gogades avatar Mar 20 '14 17:03 gogades

Glad template helped you to figure that out:)

AAverin avatar Mar 20 '14 17:03 AAverin