we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "javascript jqgrid events aftershowform"
Alberto
26 Oct 2017
1jQuery("#user-grid").jqGrid('navGrid','#user-grid-pager',
2    { }, //options
3    { // edit options
4        beforeShowForm: function(frm) { 
5            $('#username').attr('readonly','readonly'); 
6        }
7    }, 
8    { // add options
9        beforeShowForm: function(frm) { 
10            $('#username').removeAttr('readonly'); 
11        },
12  		afterShowForm:function(frm){
13        }
14    }, 
15    { }, // del options
16    { } // search options
17);