Grid Telerik Kendo UI - Delete Row JS and call function

Asked

Viewed 108 times

0

I am adding lines normally and adding in a Javascript array, I need to remove a selected row and remove it from the array and last save to the database. The excerpt below is not working properly, just calls a function but does not activate the "Destroy" command of Telerik:

template: "<a href='javascript:DeleteRow(this);' data-command='destroy'>Remover</a>"

If it is possible to remove by function the line would be great, but I’m not getting.

  • template: "<a href='javascript:Deleterow(this);' data-command='Destroy'>Remove</a>"

  • Where is the content of your function DeleteRow() ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.