SHARE
TWEET

Untitled

a guest Jun 6th, 2012 50 Never
  1. how to open jqgrid add form when click on the custom button of jqgrid?
  2. $("#jqgUsers").navGrid('#jqgpUsers', { edit: false, add: false, del: false, search: false })
  3.         .navButtonAdd('#jqgpUsers', {
  4.             caption: "",            
  5.         buttonicon: "ui-icon-plus",
  6.         onClickButton: function () {
  7.             alert("Adding Row");
  8.         },
  9.         position: "last"
  10.     });
  11.        
  12. $(this).jqGrid("editGridRow", "new");
  13.        
  14. $(this).jqGrid("editGridRow", "new", {recreateForm: true, closeAfterAdd: true});
RAW Paste Data
Top