Nprinting HTML - How change background color based on the data from field or expression?
Hello, I'm working on the embedded HTML report. I built HTML table and add necessary styling, one problem is background color for rows in the report. Customers wants see different background based on data in the table. In Qliksense script I created condition that determine color, but I don't know how apply it correctly.
First I created formula with ColorCode as calculation but it breaks structure of my table if I have more than one row in table, so I can use this way only for header.
Then I added ColorCode field in my table and tried to use it as parameter for styling, but it doesn't work.
I suppose you cannot add the Qlik Sense table as an image.
Could you add some screenshot of the template and the HTML code you are using? I would to understand better and try to reproduce in my installation.
What version of Qlik NPrinting are you using?
Best Regards, Ruggero --------------------------------------------- When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.