How to add Cancel button Grid with InlineEditing
I want to be able to click on the edit button and have save and cancel button show up,
right now I have only Save button.
Can you direct me to an example?
Html.Awe().Grid("ValidationGrid")
.Mod(o => o.PageInfo().InlineEdit(Url.Action("ValidationSave"), Url.Action("ValidationSave"), true, false, false))
Riya Dasgupta
asked
at 26 Jun 2024
Answers
-
There's a demo here: https://demo.aspnetawesome.com/GridInlineEditDemo that you could use as a guide there you can see in the view code that the
Html.InlDeleteColumn(gridId)
helper is used to generate the necessary html for the delete/cancel button (cancel when the row is in edit mode)Omuanswered at 27 Jun 2024