0

I have a grid with different column types, including checkboxes. I need to make the whole row editable when the user clicks on the corresponding row. so I set it like the following:

onSelectRow : function(rowId) {
            ...
            jQuery("#myGrid").jqGrid('editRow', rowId, {
                ...
            });
        },

This works when the user clicks anywhere on the row, but doesn't when he clicks on a checkbox which belongs to the row. Can anyone tell me what did I miss?

Cambiasso
  • 113
  • 1
  • 13
  • Check out this post which has answer to your issue - http://stackoverflow.com/questions/9650547/detecting-checkbox-event-in-jqgrid-cell – David R Aug 23 '16 at 14:16
  • Which version of jqGrid you use and from which fork of jqGrid ([free jqGrid](https://github.com/free-jqgrid/jqGrid), commercial [Guriddo jqGrid JS](http://guriddo.net/?page_id=103334) or an old jqGrid in version <=4.7)? You write about "checkboxes". You should include `colModel`, which defines the columns. It's important to know *which formatter* you use and with which options. – Oleg Aug 23 '16 at 15:57
  • here is the version I'm using : **jqGrid 4.6.0 - jQuery Grid**. – Cambiasso Aug 24 '16 at 08:04
  • colModel:[ name:'my_check_field', index:'my_check_field', width:67, align:"center", edittype:"checkbox", editoptions:{value:"Yes:No"}, formatter: "checkbox", formatoptions: {disabled : false}}, ... ] – Cambiasso Aug 24 '16 at 08:08
  • Hi, I'm still having this issue, so if anyone could help, please! – Cambiasso Aug 26 '16 at 10:23

0 Answers0