Command Column Editing in ASP.NET MVC Tree Grid Component
18 Nov 20181 minute to read
The command column provides an option to add CRUD action buttons in a column. This can be defined by the Commands property of Column API.
The available built-in command buttons are:
| Command Button | Actions |
|---|---|
| Edit | Edit the current row. |
| Delete | Delete the current row. |
| Save | Update the edited row. |
| Cancel | Cancel the edited state. |
Custom command
The custom command buttons can be added in a column by using the Commands property of Column API and the action for the custom buttons can be defined in the ButtonOption.Click event.
NOTE
You can refer to our
ASP.NET MVC Tree Gridfeature tour page for its groundbreaking feature representations. You can also explore ourASP.NET MVC Tree Grid exampleto knows how to present and manipulate data.