Sub UiReport1OnAfterRefreshEaxGrid(Sender: Object; Args: IUiPrxEaxGridEventArgs);
Begin
//set of operators;
End Sub UiReport1OnAfterRefreshEaxGrid;
Sub uiReportNet1_OnAfterRefreshEaxGrid(Sender: System.Object; Args: Prognoz.Platform.Interop.Report.UiPrxEaxGridEventArgs);
Begin
//set of operators;
End Sub;
Sender. A parameter that returns the component that generated the event.
Args. A parameter that enables the user to determine event parameters.
The OnAfterRefreshEaxGrid event occurs after refreshing analytical data area.
Before refreshing analytical data area, the UiReport.OnBeforeRefreshEaxGrid 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 OnAfterRefreshEaxGrid event handler for the UiReport1 component.
Sub UiReport1OnAfterRefreshEaxGrid(Sender: Object; Args: IUiPrxEaxGridEventArgs);
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 UiReport1OnAfterRefreshEaxGrid;
The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.
Add a link to the Report system assembly.
Imports Prognoz.Platform.Interop.Report;
…
Private Sub uiReportNet1_OnAfterRefreshEaxGrid(Sender: System.Object; Args: Prognoz.Platform.Interop.Report.UiPrxEaxGridEventArgs);
Begin
System.Diagnostics.Debug.WriteLine("Analytical data area is refreshed:");
System.Diagnostics.Debug.WriteLine("with columns: " + Args.EaxGrid.ColumnName[0]);
System.Diagnostics.Debug.WriteLine("and rows: " + Args.EaxGrid.RowName[0]);
End Sub;
See also:
Related work items
Requirement