Command column editing in TypeScript Treegrid control
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 column.commands property.
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 column.commands property and the action for the custom buttons can be defined in the buttonOption.click event.