@@ -1699,7 +1699,7 @@ N> All the events should be provided in a single **GridEvents**.
16991699
17001700 public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
17011701 {
1702- await this.Grid.PdfExport ();
1702+ await this.Grid.ExportToPdfAsync ();
17031703 }
17041704
17051705 public void PdfExportHandler(object args)
@@ -1752,7 +1752,7 @@ N> All the events should be provided in a single **GridEvents**.
17521752
17531753 public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
17541754 {
1755- await this.Grid.PdfExport ();
1755+ await this.Grid.ExportToPdfAsync ();
17561756 }
17571757
17581758 public void PdfHeaderQueryCellInfoHandler(PdfHeaderQueryCellInfoEventArgs args)
@@ -1805,7 +1805,7 @@ N> All the events should be provided in a single **GridEvents**.
18051805
18061806 public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
18071807 {
1808- await this.Grid.PdfExport ();
1808+ await this.Grid.ExportToPdfAsync ();
18091809 }
18101810
18111811 public void PdfQueryCellInfoHandler(PdfQueryCellInfoEventArgs<Order> args)
@@ -1888,10 +1888,10 @@ N> All the events should be provided in a single **GridEvents**.
18881888
18891889 public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
18901890 {
1891- await this.Grid.PdfExport ();
1891+ await this.Grid.ExportToPdfAsync ();
18921892 }
18931893
1894- public void PdfAggregateTemplateInfoHandler(PdfAggregateEventArgs<Order> args)
1894+ public void PdfAggregateTemplateInfoHandler(PdfAggregateEventArgs args)
18951895 {
18961896 // Here, you can customize your code.
18971897 }
@@ -2005,7 +2005,7 @@ N> All the events should be provided in a single **GridEvents**.
20052005
20062006 public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
20072007 {
2008- await this.Grid.ExcelExport ();
2008+ await this.Grid.ExportToExcelAsync ();
20092009 }
20102010
20112011 public void ExcelExportHandler(object args)
@@ -2058,10 +2058,10 @@ N> All the events should be provided in a single **GridEvents**.
20582058
20592059 public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
20602060 {
2061- await this.Grid.ExcelExport ();
2061+ await this.Grid.ExportToExcelAsync ();
20622062 }
20632063
2064- public void ExcelHeaderQueryCellInfoHandler(ExcelHeaderQueryCellInfoEventArgs<Order> args)
2064+ public void ExcelHeaderQueryCellInfoHandler(ExcelHeaderQueryCellInfoEventArgs args)
20652065 {
20662066 // Here, you can customize your code.
20672067 }
@@ -2111,7 +2111,7 @@ N> All the events should be provided in a single **GridEvents**.
21112111
21122112 public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
21132113 {
2114- await this.Grid.ExcelExport ();
2114+ await this.Grid.ExportToExcelAsync ();
21152115 }
21162116
21172117 public void ExcelQueryCellInfoHandler(ExcelQueryCellInfoEventArgs<Order> args)
@@ -2194,7 +2194,7 @@ N> All the events should be provided in a single **GridEvents**.
21942194
21952195 public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
21962196 {
2197- await this.Grid.ExcelExport ();
2197+ await this.Grid.ExportToExcelAsync ();
21982198 }
21992199
22002200 public void ExcelAggregateTemplateInfoHandler(ExcelAggregateEventArgs args)
@@ -2314,15 +2314,15 @@ N> All the events should be provided in a single **GridEvents**.
23142314 {
23152315 if (args.Item.Text == "Excel Export")
23162316 {
2317- await this.Grid.ExcelExport ();
2317+ await this.Grid.ExportToExcelAsync ();
23182318 }
23192319 if (args.Item.Text == "PDF Export")
23202320 {
2321- await this.Grid.PdfExport ();
2321+ await this.Grid.ExportToPdfAsync ();
23222322 }
23232323 if (args.Item.Text == "CSV Export")
23242324 {
2325- await this.Grid.CsvExport ();
2325+ await this.Grid.ExportToCsvAsync ();
23262326 }
23272327 }
23282328
@@ -2578,7 +2578,7 @@ The [OnBatchCancel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grid
25782578 <GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true" Mode="EditMode.Batch"></GridEditSettings>
25792579 <GridEvents OnBatchCancel="OnBatchCancel" TValue="Order"></GridEvents>
25802580 <GridColumns>
2581- <GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" IsPrimaryKey="true" TextAlign="TextAlign.Right" ValidationRules="@(new ValidationRules { Required = true })" Type="ColumnType.Number " Width="120"></GridColumn>
2581+ <GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" IsPrimaryKey="true" TextAlign="TextAlign.Right" ValidationRules="@(new ValidationRules { Required = true })" Type="ColumnType.Integer " Width="120"></GridColumn>
25822582 <GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" ValidationRules="@(new ValidationRules{ Required=true})" Width="120"></GridColumn>
25832583 <GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" EditType="EditType.DatePickerEdit" Format="d" TextAlign="TextAlign.Right" Width="130" Type="ColumnType.Date"></GridColumn>
25842584 <GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" EditType="EditType.NumericEdit" Width="120"></GridColumn>
0 commit comments