TopHeaderStyle: ITabCellStyle;
The TopHeaderStyle property determines style of table column headers.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
Grid: IEaxGrid;
Style: IEaxTableStyle;
THS: ITabCellStyle;
Begin
MB:=MetabaseClass.Active;
MObj:=MB.ItemById("EXPRESS_REPORT").Edit;
Expr:=MObj As IEaxAnalyzer;
Grid:=Expr.Grid;
Style:=Grid.Style;
THS:=Style.TopHeaderStyle;
THS.BackgroundColor:=GxColor.FromName("Green");
MObj.Save;
End Sub Main;
After executing this example green background is set for the table column headers. Express report identifier - EXPRESS_REPORT.
See also: