Cancel edit event in jqGrid inline edit

后端 未结 1 541
囚心锁ツ
囚心锁ツ 2021-01-28 06:14

I\'m using jqgrid inline edit in which i have a scenario to invoke the \"cancel edit\" button event and throw a message \"Are you sure to cance

1条回答
  •  别那么骄傲
    2021-01-28 06:33

    The easiest way to invoke the "cancel edit" button would be executing the code

    $("#CommentsData_ilcancel").click(); // trigger click event on Cancel button
    

    where CommentsData is the id of the grid.

    0 讨论(0)
提交回复
热议问题