1
onSelectRow: function(id) {
if (id && id !== lastsel<%= count %>) {
$j(gridName).restoreRow(lastsel<%= count %>);
$j(gridName).editRow(id, true);
lastsel<%= count %> = id;
}
}
如何處理從MVC控制器功能拋出的Jqgrid內聯編輯錯誤。如何在JqGrid內聯編輯中處理來自MVC控制器的錯誤
Function Edit(ByVal collection As FormCollection) As ActionResult
Return Content("false")
End Function
該文件說saveRow (rowid, succesfunc, url, extraparam, aftersavefunc, onerrorfunc)
。我如何調用onSuccessHandler和onError Handler。
如果有人可以提供虛擬代碼,會讚歎。