i need to have a send button in my jqgrid. So it means that i have to call An action from my controller when im pressing on the button. Ive got the code for my delete button. but i cant figure out how to send additional data with my action :
gridComplete: function () {
var gr = jQuery('#list'); gr.setGridHeight("auto", true);
var ids = jQuery("#list").jqGrid('getDataIDs');
for (var i = 0; i < ids.length; i++) {
var cl = ids[i];
be = "<a href='#' style='height:25px;width:120px;' type='button' value='Slet' onclick=\"jQuery('#list').jqGrid('" + cl + "', @Url.Action("Action")); return false;\">Send</>";
jQuery("#list").jqGrid('setRowData', ids[i], { act: be });
}
},