利用可能なすべてのリソースを検索しましたが、役に立ちませんでした。1つの列を編集可能にしようとしましたが(以下の列7を参照)、これまでのところ何も機能しません。私はすでに編集可能なプロパティをtrueに設定しています。グリッド属性の設定と関係があると思いますが、編集可能な列が機能するように、編集する必要のある属性がわかりません。
$('#pGrdList0').jqGrid({
"url" : "clientArray",
"editurl" : "server.php",
"datatype" : "local",
"width" : "900",
"height" : "338",
"rowNum" : "1000",
"colNames" :
[ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ],
"colModel" :
[ {"name" : "g1", "index" : "g1", "width" : "115", "align" : "left", "edittype" : null, "formatter" : null, "formatoptions" : null, "editoptions" : null, "editable" : false},
{"name" : "g2", "index" : "g2", "width" : "15", "align" : "right", "edittype" : null, "formatter" : null, "formatoptions" : null, "editoptions" : null, "editable" : false},
{"name" : "g3", "index" : "g3", "width" : "68", "align" : "right", "edittype" : null, "formatter" : null, "formatoptions" : null, "editoptions" : null, "editable" : false},
{"name" : "g4", "index" : "g4", "width" : "68", "align" : "right", "edittype" : null, "formatter" : null, "formatoptions" : null, "editoptions" : null, "editable" : false},
{"name" : "g5", "index" : "g5", "width" : "68", "align" : "right", "edittype" : null, "formatter" : null, "formatoptions" : null, "editoptions" : null, "editable" : false},
{"name" : "g6", "index" : "g6", "width" : "68", "align" : "right", "edittype" : null, "formatter" : null, "formatoptions" : null, "editoptions" : null, "editable" : false},
{"name" : "g7", "index" : "g7", "width" : "68", "align" : "right", "formatter" : numberFormatter, "formatoptions" : {thousandsSeparator:',',decimalPlaces:0,defaultValue:''}, "editoptions" : "{maxlength: 9, dataInit:setImeDisabled}", "editable" : true},
{"name" : "g8", "index" : "g8", "width" : "68", "align" : "right", "edittype" : null, "formatter" : null, "formatoptions" : null, "editoptions" : null, "editable" : false},
{"name" : "g9", "index" : "g9", "width" : "80", "align" : "right", "edittype" : null, "formatter" : null, "formatoptions" : null, "editoptions" : null, "editable" : false},
{"name" : "g10", "index" : "g10", "width" : "215", "align" : "left", "edittype" : "text", "formatter" : null, "formatoptions" : null, "editoptions" : {maxLength:30, dataInit:setImeEnabled}, "editable" : true} ],
"pager" : "#pGrdList0nav",
"viewrecords" : false,
"cellEdit" : true,
"cellsubmit" : "clientArray",
"multiselect" : false,
"forceFit" : false,
"shrinkToFit" : false,
"pgbuttons" : false,
"pginput" : false,
"pgtext" : false,
"onCellSelect": function(rowid, iCol, cellcontent, e) {
var grid = $('#pGrdShinkoujoukenichiran0');
grid.setSelection(rowid, true);
}
});