Sub UiReport1OnBeforeRefreshEaxGrid(Sender: Object; Args: IUiPrxEaxGridEventArgs);
Begin
//set of operators;
End Sub UiReport1OnBeforeRefreshEaxGrid;
Sender. The parameter that returns the component that generated the event.
Args. The parameter that enables the user to determine event parameters.
The OnBeforeRefreshEaxGrid event occurs before refreshing analytical data area.
After refreshing analytical data area, the UiReport.OnAfterRefreshEaxGrid event occurs.
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: