alternatingRowBackColor

Type: Integer

Availability: Read or write run time only

The alternatingRowBackColor property of the JadeTableSheet class specifies an alternate row background color. By default, alternating table rows have a background color of Azure. When you set this property to a value other than Azure, the specified value is used as the default background color of each alternate non‑fixed row.

If the value of the alternatingRowBackColorCount property is 2, the first, third, and so on non‑fixed row default background color is the backColor property value of the sheet. The second, fourth, and so on non‑fixed row default background color is the alternatingRowBackColor property value when it is not the default value (otherwise the backColor property value of the sheet is used).

If the value of the backColor property of a cell, row, or column is specifically set and it is not #800000000 (that is, transparent), the default value of the cell is ignored and the specific value of the backColor property is used.

When a cell is drawn, the backColor property value is overridden by any specified backColor value set for that cell, its row, or its column.

Note that when the table is scrolled, the colors do not move with a row. The color scheme is applied to the rows, starting with the first visible non‑fixed row; for example:

table1.accessSheet(1).alternatingRowBackColorCount := 2;
table1.accessSheet(1).alternatingRowBackColor := Azure;