You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/treegrid/columns/columns.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -467,7 +467,7 @@ public class TreeDataFormat
467
467
468
468
## AutoFit specific columns
469
469
470
-
The **AutoFitColumns** method resizes the column to fit the widest cell's content without wrapping. A specific column can be autofitted at initial rendering by invoking the [AutoFitColumns](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_AutoFitColumnsAsync_System_String___) method in [DataBound](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridEvents-1.html#Syncfusion_Blazor_TreeGrid_TreeGridEvents_1_DataBound) event.
470
+
The **AutoFitColumnsAsync** method resizes the column to fit the widest cell's content without wrapping. A specific column can be autofitted at initial rendering by invoking the [AutoFitColumnsAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_AutoFitColumnsAsync_System_String___) method in [DataBound](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridEvents-1.html#Syncfusion_Blazor_TreeGrid_TreeGridEvents_1_DataBound) event.
471
471
472
472
{% tabs %}
473
473
@@ -498,7 +498,7 @@ The **AutoFitColumns** method resizes the column to fit the widest cell's conten

545
545
546
-
N> All the columns can be autofitted by invoking the **AutoFitColumns** method without column names.
546
+
N> All the columns can be autofitted by invoking the **AutoFitColumnsAsync** method without column names.
547
547
548
548
## Lock columns
549
549
@@ -842,7 +842,7 @@ public class TreeData
842
842
843
843
## Show or Hide Columns by external button
844
844
845
-
The tree grid columns can be shown or hidden dynamically using the external buttons by invoking the [ShowColumns](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_ShowColumns_System_Object_System_String_) or [HideColumns](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_HideColumns_System_Object_System_String_) method.
845
+
The tree grid columns can be shown or hidden dynamically using the external buttons by invoking the [ShowColumnsAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_ShowColumnsAsync_System_String___System_String_) or [HideColumnsAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_HideColumnsAsync_System_String___System_String_) method.
846
846
847
847
{% tabs %}
848
848
@@ -874,11 +874,11 @@ The tree grid columns can be shown or hidden dynamically using the external butt
874
874
}
875
875
private void HideColumns()
876
876
{
877
-
this.TreeGrid.HideColumns(ColumnItems); //hide by HeaderText
877
+
this.TreeGrid.HideColumnsAsync(ColumnItems); //hide by HeaderText
878
878
}
879
879
private void ShowColumns()
880
880
{
881
-
this.TreeGrid.ShowColumns(ColumnItems); //show by HeaderText
881
+
this.TreeGrid.ShowColumnsAsync(ColumnItems); //show by HeaderText
Copy file name to clipboardExpand all lines: blazor/treegrid/editing/batch-editing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ documentation: ug
9
9
10
10
# Batch Editing in Blazor Tree Grid Component
11
11
12
-
In the Batch edit mode, when the tree grid cell is double-clicked, the target cell goes into edit state. It can be bulk saved (added, changed and deleted data in the single request) to the data source by clicking on the toolbar's **Update** button or by externally invoking the [EndEdit](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_EndEdit) method.
12
+
In the Batch edit mode, when the tree grid cell is double-clicked, the target cell goes into edit state. It can be bulk saved (added, changed and deleted data in the single request) to the data source by clicking on the toolbar's **Update** button or by externally invoking the [EndEditAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_EndEditAsync) method.
13
13
To enable Batch edit, set the [Mode](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridEditSettings.html#Syncfusion_Blazor_TreeGrid_TreeGridEditSettings_Mode) property of the `TreeGridEditSettings` as **Batch**.
Copy file name to clipboardExpand all lines: blazor/treegrid/editing/edit.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -587,10 +587,10 @@ public class TreeData
587
587
588
588
## Performing CRUD operations programmatically
589
589
590
-
Perform the CRUD operations like **Add**, **Update**, **Delete** by using the `AddRecord`, `UpdateRow`, `DeleteRow` methods.
590
+
Perform the CRUD operations like **Add**, **Update**, **Delete** by using the `AddRecordAsync`, `UpdateRowAsync`, `DeleteRow` methods.
591
591
592
-
***AddRecord** - Add a new record into the tree grid.
593
-
***UpdateRow** - Update an existing record in a tree grid.
592
+
***AddRecordAsync** - Add a new record into the tree grid.
593
+
***UpdateRowAsync** - Update an existing record in a tree grid.
594
594
***DeleteRow** - Delete a selected row from the tree grid.
595
595
596
596
{% tabs %}
@@ -634,7 +634,7 @@ Perform the CRUD operations like **Add**, **Update**, **Delete** by using the `A
634
634
Priority = "Low",
635
635
ParentId = null
636
636
};
637
-
await this.treegrid.AddRecord(adddata);
637
+
await this.treegrid.AddRecordAsync(adddata);
638
638
}
639
639
640
640
public async Task Update()
@@ -645,7 +645,7 @@ Perform the CRUD operations like **Add**, **Update**, **Delete** by using the `A
645
645
646
646
public async Task Delete()
647
647
{
648
-
await this.treegrid.DeleteRecord();
648
+
await this.treegrid.DeleteRecordAsync();
649
649
}
650
650
}
651
651
@@ -797,7 +797,7 @@ public class TreeData
797
797
798
798
## Custom external edit form
799
799
800
-
Perform the edit operation of tree grid in a custom external form. The edit operation can be done by the [RowSelected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridEvents-1.html#Syncfusion_Blazor_TreeGrid_TreeGridEvents_1_RowSelected) event and `UpdateRow` method of tree grid.
800
+
Perform the edit operation of tree grid in a custom external form. The edit operation can be done by the [RowSelected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridEvents-1.html#Syncfusion_Blazor_TreeGrid_TreeGridEvents_1_RowSelected) event and `UpdateRowAsync` method of tree grid.
801
801
802
802
{% tabs %}
803
803
@@ -872,7 +872,7 @@ Perform the edit operation of tree grid in a custom external form. The edit oper
872
872
}
873
873
async Task Save()
874
874
{
875
-
await this.treegrid.UpdateRow(1, data);
875
+
await this.treegrid.UpdateRowAsync(1, data);
876
876
}
877
877
public void RowSelectHandler(RowSelectEventArgs<TreeData.BusinessObject> args)
Copy file name to clipboardExpand all lines: blazor/treegrid/excel-export.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ documentation: ug
10
10
# Excel Export in Blazor TreeGrid Component
11
11
12
12
The excel export allows exporting Tree Grid data to Excel document. Use the
13
-
**ExcelExport** method for exporting. To enable Excel export in the Tree Grid, set the [AllowExcelExport](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_AllowExcelExport) property as true.
13
+
**ExportToExcelAsync** method for exporting. To enable Excel export in the Tree Grid, set the [AllowExcelExport](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_AllowExcelExport) property as true.
14
14
15
15
To know about exporting tree grid data to Excel document in Blazor tree grid component, you can check on this video.
16
16
@@ -50,7 +50,7 @@ To know about exporting tree grid data to Excel document in Blazor tree grid com
50
50
{
51
51
if(Args.Item.Text == "Excel Export")
52
52
{
53
-
this.TreeGrid.ExcelExport();
53
+
this.TreeGrid.ExportToExcelAsync();
54
54
}
55
55
}
56
56
}
@@ -137,7 +137,7 @@ The excel export provides an option to export the current page into excel. To ex
137
137
{
138
138
Syncfusion.Blazor.Grids.ExcelExportProperties ExportProperties = new Syncfusion.Blazor.Grids.ExcelExportProperties();
The collapsed state can be persisted in the exported document by defining **IsCollapsedStatePersist** property as true in the **TreeGridExcelExportProperties** parameter of the [ExcelExport](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_ExcelExport_Syncfusion_Blazor_Grids_ExcelExportProperties_System_Nullable_System_Boolean__System_Object_System_Nullable_System_Boolean__) method.
449
+
The collapsed state can be persisted in the exported document by defining **IsCollapsedStatePersist** property as true in the **TreeGridExcelExportProperties** parameter of the [ExportToExcelAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_ExportToExcelAsync_Syncfusion_Blazor_Grids_ExcelExportProperties_) method.
450
450
451
451
{% tabs %}
452
452
@@ -483,7 +483,7 @@ The collapsed state can be persisted in the exported document by defining **IsCo
483
483
{
484
484
Syncfusion.Blazor.TreeGrid.TreeGridExcelExportProperties ExportProperties = new Syncfusion.Blazor.TreeGrid.TreeGridExcelExportProperties();
Copy file name to clipboardExpand all lines: blazor/treegrid/exporting.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ documentation: ug
10
10
# PDF Export in Blazor TreeGrid Component
11
11
12
12
PDF export allows exporting Tree Grid data to PDF document. You need to use the
13
-
**PdfExport** method for exporting. To enable PDF export in the Tree Grid, set the [AllowPdfExport](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor~Syncfusion.Blazor.Grids.EjsGrid~AllowPdfExport.html) as true.
13
+
**ExportToPdfAsync** method for exporting. To enable PDF export in the Tree Grid, set the [AllowPdfExport](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor~Syncfusion.Blazor.Grids.EjsGrid~AllowPdfExport.html) as true.
14
14
15
15
To know about exporting tree grid data to PDF document in Blazor tree grid component, you can check on this video.
16
16
@@ -50,7 +50,7 @@ To know about exporting tree grid data to PDF document in Blazor tree grid compo
50
50
{
51
51
if(Args.Item.Text == "PDF Export")
52
52
{
53
-
this.TreeGrid.PdfExport();
53
+
this.TreeGrid.ExportToPdfAsync();
54
54
}
55
55
}
56
56
}
@@ -137,7 +137,7 @@ The file name can be assigned for the exported document by defining **fileName**
137
137
{
138
138
Syncfusion.Blazor.Grids.PdfExportProperties ExportProperties = new Syncfusion.Blazor.Grids.PdfExportProperties();
139
139
ExportProperties.FileName = "test.pdf";
140
-
this.TreeGrid.PdfExport(ExportProperties);
140
+
this.TreeGrid.ExportToPdfAsync(ExportProperties);
141
141
}
142
142
}
143
143
}
@@ -220,7 +220,7 @@ Page orientation can be changed Landscape(Default Portrait) for the exported doc
220
220
{
221
221
Syncfusion.Blazor.Grids.PdfExportProperties ExportProperties = new Syncfusion.Blazor.Grids.PdfExportProperties();
0 commit comments