Report > Report Assembly Classes > UiReport > UiReport.OnBeforeRefreshEaxGrid
UiReport1OnBeforeRefreshEaxGrid(Sender: Object; Args: IUiPrxEaxGridEventArgs);
Sender. Parameter that returns the component that has 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 a handler of the OnBeforeRefreshEaxGrid event 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;
Before updating the analytical data area an information message is displayed.
See also: