GxTitle.BackgroundColor

Syntax

BackgroundColor: PP.Color || RGB || String

Description

The BackgroundColor property sets color of express report heading background.

Comments

Use JSON or the setBackgroundColor method to set the property value, and the getBackgroundColor method to get the property value.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To show the title, click the Title button on the Home tab. Change title's background color:

// Get title
var title = expressBox.getDataView().getTitleView();
// Change title color
title.setBackgroundColor(PP.Color.Colors.lightgray);

As a result, a new color is set for express report title:

See also:

GxTitle