简体   繁体   中英

Kendo delete button not working

Kendo is throwing error when trying to delete. It shows confirmation box after OK then it deletes the row, but doesn't call destroy in transport to call Api service.

kendo.all.min.js:52 Uncaught TypeError: Cannot convert undefined or null to object
at init._removeRow (kendo.all.min.js:52)
at init.removeRow (kendo.all.min.js:52)
at HTMLAnchorElement.<anonymous> (kendo.all.min.js:51)
at HTMLDivElement.dispatch (jquery.min.js:3)
at HTMLDivElement.r.handle (jquery.min.js:3)
_removeRow @ kendo.all.min.js:52
removeRow @ kendo.all.min.js:`enter code here`52
(anonymous) @ kendo.all.min.js:51
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3

I got the solution, persistSelection was true. I deleted it. now its working !!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM