开发者

jqgrid:cancel deleting row(s)

开发者 https://www.devze.com 2022-12-26 20:12 出处:网络
I use jqgrid f开发者_StackOverflowor my data, and enable user to delete rows from the grid. but when user click \'delete\' button, jqgrid will popup a \'Delete\' dialog to ask user if they wanna delet

I use jqgrid f开发者_StackOverflowor my data, and enable user to delete rows from the grid. but when user click 'delete' button, jqgrid will popup a 'Delete' dialog to ask user if they wanna delete or cancel, how can i check if user choose 'cancel" before i really submit data deletion to the server? Thanks.


I would think the grid would only send the request if "OK" is clicked. You can use Firebug's "Net" tab to confirm.


checked, no, it send the request as soon as i click 'delete' button...

0

精彩评论

暂无评论...
验证码 换一张
取 消