jqGrid Cell Editing - Double Click to Edit?
问题 By default, if a jqGrid cell is editable, single click on that cell changes it to edit mode. Is there any way I can make it edit on a double click instead? It would make it easier to do row-level operations such as deleting, as all the columns in my grid are editable. 回答1: Yes, you can use the ondblClickRow event to capture a double-click. Here is a simple example to get you started: ondblClickRow: function(){ var row_id = $("#grid").getGridParam('selrow'); jQuery('#grid').editRow(row_id,