Hi! I've made a custom button to replace the 'Delete' ('destroy') button in an inline editing grid - How do I delete the data with this button in a specific field?:
Thank you!
01.{ command: [02. { name: "edit" },03. {04. name: "Remove Notes",05. click: function(e) {06. var tr = $(e.target).closest("tr");07. var data = this.dataItem(tr);08. 09. var DelNotes = confirm('You wish to delete this stuff?');10. if (DelNotes == true) {11. confirm = data.FILE_DESC = 'Some Data Here...';12. //How do I delete the contents of the field data.FILE_DESC?13. } else {14. //No deletions here!15. }16. 17. }18. }19. ], title: " ", width: "175px" }],Thank you!