2010-04-04 74 views

回答

0

您可以添加一个‘删除’选项

$("#gGrid").jqGrid('navGrid','#pagergGrid',{add:true,edit:true,del:false,search:true}, //NAVIGATION BAR 
     { }, // edit options 
     { }, // add options 
     {msg: "Record cannot be deleted"}, //del options 
     { 
     } // search options 

     ); 

它详细

解释 here