When I use the editurl property in my jqgrid, the controller action is called after I clicked the submit button when adding a new row. But how do I get all the grid lines? Which parameter should be read from my controller action method to get grid data?
Summary Code:
$("#list1").jqGrid({
url: '/CMS/GetCustomLanguageData',
---
---
editurl: '/CMS/SaveCustomLanguageData'
---
Add new line code:
grid.jqGrid('editGridRow',"new",{height:280,reloadAfterSubmit:false,addCaption: "Add Record",
editCaption: "Edit Record",
bSubmit: "Submit",
bCancel: "Cancel",
bClose: "Close",
saveData: "Data has been changed! Save changes?",
bYes : "Yes",
bNo : "No"
});
Controller Code:
public ActionResult SaveCustomLanguageData()
{
}
source
share