Jqgrid how to write cell click event

后端 未结 4 1073
面向向阳花
面向向阳花 2020-12-22 08:00

I want to write an event when user click on a cell of jqgrid. Is there build in method? I could not find any event at this link

4条回答
  •  粉色の甜心
    2020-12-22 08:33

    you can try with this

    onSelectRow: function(){
                    var row_id = $("#grid_nueva_caja_matriz").getGridParam('selrow');
                    jQuery('#grid_nueva_caja_matriz').editRow(row_id, true);
                }
    

    or you can use the differentes events how ondblClickRow you can check on the documentation of jqgrid

提交回复
热议问题