0

に問題がありjqGridます。次のようなグリッドを定義したとします。

 $(function(){      
    $("#crud").jqGrid({
    url: '<c:url value="/log4jConf.html?method=getJSONProperties"/>',
    editurl: '<c:url value="/log4jConf.html?method=updateProperties"/>',
    datatype: 'json',
    colNames:['Key','Value'],
    loadonce: true,
    colModel:[
        {name:'key',index:'key',width:453,editable:true},
        {name:'value',index:'value',width:741, editable:true},
    ],
    pager: '#pcrud',
    rowNum:30,
    rowList:[30,40,50],
    viewrecords: true,
    caption:'Log4j Properties',
    height: 'auto',
    });
    jQuery("#crud").jqGrid('navGrid',"#pcrud",{edit:false,add:false,del:true});
    jQuery("#crud").jqGrid('inlineNav',"#pcrud");
});

そして、行 has の削除アクションのみを許可したいkey = "aaaa"。どうすればいいですか?

4

0 に答える 0