Well… here is the solution….
$(“#list”).jqGrid('navGrid','#pager',{
edit:true, edittitle: 'Modify a Deployment',
add:true, addtitle: 'Add a new Deployment',
del:true, deltitle: 'Delete a Deployment'},
{// edit option
beforeShowForm: function(form) {
$('#branch', form).attr(“disabled”,”disabled”);
},
editCaption: “Edit a Deployment”
},
{// add option
beforeShowForm: function(form) {
$('#branch option[value=””]', form).text('Select a branch')
$('#branch option[value=””]', form).attr(“selected”, “selected”);
$('#branch', form).attr(“disabled”,””);
},
addCaption: “Add a Deploymet”
},
{// delete option
top:50,
left:100,
width:500
},
{// Search option
multipleSearch:true
},
{// view option
}
);
I hope that will be useful for us
Regards