[]
Occurs after the ReportStart event.
public event EventHandler DataInitialize
Type | Description |
---|---|
EventHandler | Occurs after the ReportStart event. |
Permit the addition of custom fields to the field collection of the report.
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
var field = new GrapeCity.ActiveReports.Data.Field();
field.Name = "CategoryName";
sectionReport.DataInitialize += (sender, e) =>
sectionReport.Fields.Add(field);