Categories > OpenTBS with DOCX >

Insert background color on even rows?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Anonymous
Date: 2014-11-13
Time: 17:28

Insert background color on even rows?

How can I insert background color on even rows?
Keeping default the odd ones.
By: Skrol29
Date: 2015-03-07
Time: 23:15

Re: Insert background color on even rows?

Hi,

There is no background color for rows, only for cells.
So you have to change the background color for each cells of the row.

Here is how you can do :
1) apply a background color to the cell, use a « standard color », not a « theme color ».
2) place a TBS field in the cell, such this one : [a.new_color;att=w:shd#w:fill]

The value of the column "new_color" must be a valid HTML color code (such as "00B050").
And the color will be replaced.