cruzz

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: Customize Add/ Edit dialog form #98817
    cruzz
    Participant

    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

Viewing 1 replies (of 1 total)

Stay connected with us in your favorite flavor!