Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides an example to make user defined styles persist for rows. For this example, let's consider Monthly Temperatures table, for  for which you want to set styles of various rows, including the header row, and auto-number all the rows.

...

Define these parameters/values

Row formatting > Data rows > Row Styles (1

2

3)

background:lightgrey; padding:5px

background:lightblue

font-style:italic; font-size: 1.2em; text-align:center

Row formatting > Header & Footer rows > Header row styles

font-size: 2.0em; font-style:bold; padding:8px

Row formatting > Advanced settings > Apply Row styles to data row cellsOn

Screenshots

Image AddedImage Added

Image RemovedImage RemovedImage Added

Example results

Table when the Apply Row styles to data row cells was off:

Image Added

Table when the Apply Row styles to data row cells is on:

Image Added

Here, the row styles for the header, first and third rows override the default styles. Image Removed