"alternatingRowColors"

Allows to set alternating background colors for the rows of a table.

Synopsis

shape.alternatingRowColors(dyn_string colors);

Parameter

Parameter Description
shape Name of the object
colors List of row colors that should repeat themselves.

Description

Adds background colors for the table rows, that should repeat themselves.

Dynamic colors are not supported!

Example

Sets the background color of the table row to alternating yellow and green.

main()
{
  TABLE1.alternatingRowColors(makeDynString("{222,236,195}", "{255,234,0,128}"));
}
Figure 1. Table with two alternating Colors, yellow and green

Assignment

Table