EaxGridView.DisplayLegend

Syntax

DisplayLegend: Boolean;

Description

The DisplayLegend property determines table legend visibility in express report working area.

Comments

Use JSON or the setDisplayLegend method to set the property value, and the getDisplayLegend method to get the property value.

Available Values:

Example

Executing the example requires that the HTML page contains the EaxGrid component named eaxGrid (see Example of Creating the EaxGrid Component). The repository must also contain an express report. The express report must contain a table, for which the Background Color metric is determined. A legend must be displayed only for the Background Color table metric.

eaxGrid.Rendered.add(function () {
	eaxGrid.setDisplayLegend(false);
	eaxGrid.updateSize();
});

After executing the example the table legend is hidden.

See also:

EaxGridView