在 Jqgrid 编辑表单上显示成功消息

Display Success messages on Jqgrid edit form

本文关键字:显示 成功 消息 表单 Jqgrid 编辑      更新时间:2023-09-26

成功将数据提交到服务器后如何显示成功消息?

就像 Jqgrid 编辑表单上的"行添加成功"

afterSubmit: function () { 
    alert("Row added Successfully");    
    $(this).jqGrid("setGridParam", {datatype: 'xml'});     
    return [true]; },          
closeAfterAdd:true,
reloadAfterSubmit:true,
recreateForm: true,             
bottominfo:"Fields marked with (*) are required"},