Express > Express Assembly Interfaces > IEaxGrid > IEaxGrid.ColumnName
ColumnName(Column: Integer): String;
Column. Column number.
The ColumnName property returns name of the header of a column of the express report table index of which is passed by the Column parameter.
Sub UserProc;
Var
MB: IMetabase;
Expr: IEaxAnalyzer;
Grid: IEaxGrid;
s: String;
Begin
MB := MetabaseClass.Active;
Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
Grid := Expr.Grid;
s := Grid.ColumnName(Grid.TabSheet.ColumnsCount-1);
End Sub UserProc;
After executing the example the s variable contains name of the header of the last table column. Express report identifier - EXPRESS_REPORT.
See also: