how to get selected checkbox row id in jq grid with editable checkbox
问题 var data = [[48803,"true"], [48769,"true"]]; $("#grid").jqGrid({ datatype: "local", height: 250, colNames: ['Inv No','MyPrint'], colModel: [{ name: 'id', index: 'id', width: 60, sorttype: "int"}, { name: 'MyPrint', index: 'MyPrint', width: 80, editoptions: { value: "True:False" }, editrules: { required: true }, edittype: 'checkbox', formatter: myPrintCheckboxFormatter, formatoptions: { disabled: false }, editable: true } ], caption: "test example" }); var names = ["id","true"]; var mydata = [