IEaxGrid.AdjustMode

Syntax

AdjustMode: EaxAdjustMode;

Description

The AdjustMode property determines cell autofit mode.

NOTE. This property is outdated, use IEaxGridAdjustSettings.Mode instead.

Example

Executing the example requires a form with a button on it named Button1, the TabSheetBox components and the UiErAnalyzer component named UiErAnalyzer1 which is used as a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Eax: IEaxAnalyzer;
    Grid: IEaxGrid;
Begin
    Eax := UiErAnalyzer1.ErAnalyzer;
    Grid := Eax.Grid;
    Grid.AdjustMode := EaxAdjustMode.ColumnsThenRows;
End Sub Button1OnClick;

After executing the example, the following cell size autofit mode is enabled for the express report table: "First columns, then rows".

See also:

IEaxGrid