I'm using jQGrid 3.1.8 with jQuery 1.4.3. I have a grid that has two columns in it that are set up as checkboxes, like so:
{name:'inv',index:'inv', width:20, sortable: false, search: true, editable: true, formatter:'checkbox', formatoptions: {disabled : false}, edittype: 'checkbox', editoptions:{size:4,value:"on:off"}}
This produces the desired checkbox element in the HTML. However, when looking at the raw HTML, the element lacks the ID and NAME attributes I expect per this page:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules#editable
Not having the ID or a column name makes it very hard to determine what checkbox has been clicked. Here is an example of the resulting cell and checkbox HTML:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top