How to uncheck checkbox when clicking on row in jqgrid?
<p>Is there a way to get the behavior with checkboxes similar to this one with radio buttons <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWidthRadioButton2.htm" rel="nofollow">http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWidthRadioButton2.htm</a>
with included checkbox for selecting/deselecting all.
Row selection and checkbox on that row may not be linked, just like in the example with radio buttons.</p>

<p><strong>UPDATE:</strong></p>

<p>Here is my snippet:</p>

<pre><code>$("#list").jqGrid({
            datatype: "local",
            data: mydata,
            colNames: ["Client", "Date", "Amount", "Tax", "Total", "Shipped via", "Notes"],
            colModel: [
                {name: "name", width: 70, frozen: true},
                {name: "invdate", width: 80, align: "center", sorttype: "date",
                    formatter: "date", formatoptions: {newformat: "d-M-Y"}, datefmt: "d-M-Y"},
                {name: "amount", width: 75, formatter: "number", sorttype: "number", align: "right"},
                {name: "tax", width: 55, formatter: "number", sorttype: "number", align: "right"},
                {name: "total", width: 65, formatter: "number", sorttype: "number", align: "right"},                    
                {name: "ship_via", width: 100, align: "center", formatter: "select",
                    edittype: "select", editoptions: {value: "FE:FedEx;TN:TNT;IN:Intim", defaultValue: "IN"}},
                {name: "note", width: 70, sortable: false}
            ],
            rowNum: 10,
            rowList: [5, 10, 20],
            pager: "#pager",
            gridview: true,
            rownumbers: true,
            sortname: "invdate",
            viewrecords: true,
            sortorder: "desc",
            caption: "Handling of changing of chechboxes in the grid",
            height: "auto",
            multiselect: true,
                multiboxonly: true,
            beforeSelectRow: function (rowid, e) {
              var $target = $(e.target), $td = $target.closest("td"),
                  iCol = $.jgrid.getCellIndex($td[0]),
                  colModel = $(this).jqGrid("getGridParam", "colModel");
              if (iCol &gt;= 0 &amp;&amp; $target.is(":checkbox")) {
                  return false;
              }

              return true;

            },
            onSelectRow: function (rowid, isSelected, event) {

                var rowData = $("#list").jqGrid("getRowData", rowid);

                var checkbox = jQuery(this).find('#' + rowid + ' input#jqg_list_'+rowid+'[type=checkbox]');

                if ($(checkbox).is(':checked')) {
                    $(checkbox).attr('checked', false);
                }
            },
        });
</code></pre>

<p><a href="http://jsfiddle.net/yNw3C/12696/" rel="nofollow">http://jsfiddle.net/yNw3C/12696/</a></p>

<p>As you can see, the problem is when I click on the row that was previously checked, it will uncheck the checkbox.</p>