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
jqgrid inline edit
\"cancel edit\"
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.
CommentsData