Blazor DataGrid Example - Command Column

DataGrid / Editing / Command Column

This example shows CRUD operations in DataGrid using the command column.

Loading Syncfusion Blazor Server Demos…

1 of 7 pages (75 items)

The command column feature of the Blazor DataGrid allows you to render CRUD action buttons in a column. The GridColumn component's GridCommandColumns accepts an array of GridCommandColumn components. The GridCommandColumn component's Type property can be used to define the predefined command button.

The Blazor DataGrid provides an option to render CRUD action buttons in a column by using the command column feature. The of the component accepts array of components. The predefined command button can be defined by using Type property of the GridCommandColumn component.

The built-in command buttons are,

  • Edit - To edit record, double click a row or click Edit button from command column after selecting a row
  • Delete - To delete record, click Delete button from command column after selecting a row
  • Update - To save the edited changes, click Update button from command column.
  • Cancel - To discard the edited changes, click Cancel button from command column.

More information about the Command column editing can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE