Portlet Guidelines

Portlet Guidelines for coding and look & feel

Alternated row background colour
Applicable to any portlet displaying multiple rows in Grid or Tabular view. Please note that from release 5.3.0, portlets can be printed.

1 - Change the datawindow properties to display background colours


Go to the datawindow properties >> Print Specifications

Tick the option Print Shows Background

Tick the option Preview Shows Background

2 - Right-mouse click on the detail band to view its properties
Go to the Background properties >> Color

Enter the expression below: if ( Mod( GetRow, 2 ) = 0, 553648127, RGB(245, 245,245) )

Applied example: