I\'d like to implement my own delete functionality in jqGrid. I\'m currently using the built-in UI (select row, press trashcan button in footer, confirm) but I\'d prefer to
Another solution is to programmatically click on the delete icon (if present). The id for the delete icon (actually a div) is "del_[GridId]". This may not be a totally solid solution since they may change that id naming. But you get exactly the same behaviour (and also the nicer confirm modal).
Example:
$('#MyButton').click(function() { $('#del_' + gridId).click(); });