My JQGrid cloumns like,
colNames: ['Job ID', 'MailId','Save'],
colModel: [
{ name: 'JobId', index: 'JobId', width: 120, align: 'left', editable: true },
{ name: 'MailId', index: 'MailId', width: 150, align: 'left', editable: true },
{
name: 'Save', index: 'Save', width: 100, sortable: false,
formatter: function (cellvalue, options, rowObject) {
return "<a href='#' id="saveLinkId">Save</a>";
}
}
I create the Save link button at the end of JQGrid cell.
I need to pass clicked row's JobId and MailID to jquery function when click the link button in a row.How to do this?