mardi 23 août 2016

jqGrid: onselectrow not firing when checkbox

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?




Aucun commentaire:

Enregistrer un commentaire