New to Telerik UI for ASP.NET Core? Download free 30-day trial

GridEditableSettingsTagHelper

Example

<editable>
</editable>

Attributes

Attribute Type Description
cancel-delete String If confirmation is enabled the grid will display a confirmation dialog when the user clicks the "destroy" command button. If the grid is in mobile mode this text will be used for the cancel button.
confirmation Boolean Enables the display of a confirmation dialog when the user clicks the "destroy" command button and sets the string which will be used as the confirmation text
confirmation-handler String If set to true the grid will display a confirmation dialog when the user clicks the "destroy" command button.Can be set to a string which will be used as the confirmation text.Can be set to a function which will be called, passing the model instance, to return the confirmation text.This and all Grid configuration properties can be set (enabled/disabled) after the grid has been initialized with the setOptions method.
confirmation-message String Enables the display of a confirmation dialog when the user clicks the "destroy" command button and sets the string which will be used as the confirmation text
confirm-delete String If confirmation is enabled the grid will display a confirmation dialog when the user clicks the "destroy" command button. If the grid is in mobile mode this text will be used for the confirm button.
create-at String The position at which new data items are inserted in the grid. Must be set to either "top" or "bottom". By default new data items are inserted at the top.
destroy Boolean If set to true the user can delete data items from the grid by clicking the "destroy" command button. Deleting is enabled by default.
enabled Boolean
mode String The editing mode to use. The supported editing modes are "incell", "inline" and "popup".
readonly Boolean If set to true the Grid will be initialized in read only mode. Users won't be able to add, remove or update records. Clicking on the edit, delete or add buttons will have no effect. In incell mode, clicking on the cell will not open it for editing.API methods are not affected by this configuration. Calling editRow and editCell will still put the cell/row in edit mode. Calling addRow and removeRow will add/remove the row.This property is useful in combination with the enableEditing and disableEditing methods. You can initialize the Grid as read only and enable editing later on.
template String The template which renders popup editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the grid will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields.To change the size of the popup editor you can follow the approach outlined in this article.
template-handler String The template which renders popup editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the grid will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields.To change the size of the popup editor you can follow the approach outlined in this article.
template-id String The template which renders popup editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the grid will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields.To change the size of the popup editor you can follow the approach outlined in this article.
template-view IHtmlContent The template which renders popup editor.The template should contain elements whose name HTML attributes are set as the editable fields. This is how the grid will know which field to update. The other option is to use MVVM bindings in order to bind HTML elements to data item fields.To change the size of the popup editor you can follow the approach outlined in this article.
update Boolean If set to true the user can edit data items when editing is enabled.
In this article
Not finding the help you need?