tsgrp / ActiveWizard

OpenContent Dynamic Forms and Workflow
http://www.tsgrp.com/products/opencontentforms/
4 stars 0 forks source link

Table View - Alternating colors in PDF view #148

Open gsteimer opened 9 years ago

gsteimer commented 9 years ago

This should be super simple, but the alternating colors look good having dark first on the summary page:

image

But look weird on the PDF:

image

Perhaps in the PDF, we should start with no color on the first row?

tconnellytsg commented 9 years ago

So this is based on a freemarker template(Since freemarker is the easiest way to convert from json format to html which Itext needs to build a pdf), in the freemarker template we assign classes to each row. One class has a grey color, one has white, basically all we'd have to do is in the freemarker template change the order the classes alternate, and this should work.