New to Telerik UI for .NET MAUI? Start a free 30-day trial
.NET MAUI TreeDataGrid Editing Commands
The .NET MAUI TreeDataGrid control provides the following commands for editing the data inside the column:
BeginEdit
—Provides an entry point just before the editing begins.CancelEdit
—Provides an entry point just before the editing is canceled.CommitEdit
—Provides an entry point just before the editing is committed.
The execution parameter of the Editing Commands
is of type EditContext
that exposes the following properties:
CellInfo
—Gets the cell information associated with the operation.TriggerAction
—Gets theSourceTriggerAction
value that triggered the operation.Parameter
—Gets an optional parameter holding additional information associated with the operation.
BeginEdit and CommitEdit Commands Example
As the TreeDataGrid inherits from the DataGrid, for a runnable example with the Editing commands, see the SDKBrowser Demo Application and go to DataGrid > Commands category.