I want to implement a kendo ui js grid with delete, edit and a custom command button. I did it by doing this:
{
command: [
{ text: "Edit", template: "<a class='k-button k-button-icontext k-grid-edit'>Edit</a>" }, { text: "Delete", template: "<a class='k-button k-button-icontext k-grid-Delete'>Delete</a>" }, { text: "Translate", click: translateFeatures }], width: 250
}
the only problem here is when i want to add a new row it works good as expected except that the edit button doesn't become an updatebutton as it does if i would have used this code:
{ command: ["edit", "destroy"], title: " ", width: "250px" }
is there a way to implement the standard edit and destroy buttons and still have the save functionality when creating a new row?