1

http://trirand.com/blog/jqgrid/jqgrid.html階層の例のようなページですが、より複雑で、すべてのグリッドに「追加」ボタンがあり、ユーザーが「追加」ボタンをクリックすると、追加されたデータを処理する必要があります.

ローカル編集については、ページhttp://www.ok-soft-gmbh.com/jqGrid/LocalFormEditing.htmも参照します。関連するコードは以下のとおりです。

jqGrid('navGrid','#pager',{},editSettings,addSettings,delSettings,
    {multipleSearch:true,overlay:false, null});

addSettings = {
   //recreateForm:true,
  jqModal:false,
  reloadAfterSubmit:false,
  savekey: [true,13],
  closeOnEscape:true,
  closeAfterAdd:true,
  onclickSubmit: function (options, postdata) {
      // expected to find grid id in options, but didn't find it.
  },

}、

4

1 に答える 1