Answers for "jqgrid beforeShowForm"

0

jqgrid beforeShowForm

jQuery("#user-grid").jqGrid('navGrid','#user-grid-pager',
    { }, //options
    { // edit options
        beforeShowForm: function(frm) { 
            $('#username').attr('readonly','readonly'); 
        }
    }, 
    { // add options
        beforeShowForm: function(frm) { 
            $('#username').removeAttr('readonly'); 
        }
    }, 
    { }, // del options
    { } // search options
);
Posted by: Guest on February-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language