UiReport.OnBeforeRefreshEaxGrid

Syntax

Sub UiReport1OnBeforeRefreshEaxGrid(Sender: Object; Args: IUiPrxEaxGridEventArgs);

Begin

//set of operators;

End Sub UiReport1OnBeforeRefreshEaxGrid;

Parameters

Sender. The parameter that returns the component that generated the event.

Args. The parameter that enables the user to determine event parameters.

Description

The OnBeforeRefreshEaxGrid event occurs before refreshing analytical data area.

Comments

After refreshing analytical data area, the UiReport.OnAfterRefreshEaxGrid event occurs.

Example

Executing the example requires a form that contains the UiReport component with the UiReport1 identifier and a visualizer, which data source is the UiReport1 component. Specify a regular report, which active sheet contains analytical data area, as a data source for the UiReport1 component.

The example is the OnBeforeRefreshEaxGrid event handler for the UiReport1 component.

Sub UiReport1OnBeforeRefreshEaxGrid(Sender: Object; Args: IUiPrxEaxGridCancelEventArgs);
Begin
    Debug.WriteLine("Analytical data area is refreshed:");
    Debug.WriteLine("with columns: " + Args.EaxGrid.ColumnName(0));
    Debug.WriteLine("and rows: " + Args.EaxGrid.RowName(0));
End Sub UiReport1OnBeforeRefreshEaxGrid;

See also:

UiReport