Skip to content

Commit 11bf315

Browse files
983239: updated
1 parent 0f9bf4f commit 11bf315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blazor/treegrid/how-to/prevent-default-treegrid-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ layout: post
33
title: Prevent default Grid action in Blazor TreeGrid Component | Syncfusion
44
description: Learn how to prevent default actions such as Add in the Syncfusion Blazor TreeGrid component using the RowCreating event.
55
platform: Blazor
6-
control: Tree +Grid
6+
control: TreeGrid
77
documentation: ug
88
---
99

1010
# Prevent Default TreeGrid Action in Blazor TreeGrid Component
1111

12-
You can prevent default actions in the TreeGrid by canceling them within the [RowCreating](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridEvents-1.html#Syncfusion_Blazor_TreeGrid_TreeGridEvents_1_RowCreating) event.
12+
Default actions in the Blazor TreeGrid component can be prevented by canceling them within the [RowCreating](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridEvents-1.html#Syncfusion_Blazor_TreeGrid_TreeGridEvents_1_RowCreating) event
1313

1414
The following example demonstrates how to prevent the `Add` operation by setting the `Cancel` argument of the [RowCreating](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridEvents-1.html#Syncfusion_Blazor_TreeGrid_TreeGridEvents_1_RowCreating) event to `true`.
1515

0 commit comments

Comments
 (0)