jqGrid editurl值用于本地编辑? [英] jqGrid editurl value for local editing?

查看:95
本文介绍了jqGrid editurl值用于本地编辑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用本地数据设置的jqGrid.在填写完整表格之前,我不会将任何数据发送到服务器.我的问题是,当用户添加/编辑行时,jqGrid会尝试立即将结果发布到服务器.

I have a jqGrid set up with local data. I'm not sending any data to the server until the entire form is filled out. My problem is, when a user adds/edits a row, jqGrid attempts to post the results to the server right then.

我尝试从jqGrid调用中删除"editurl"属性,但是当用户单击弹出式窗体上的提交"按钮以添加/编辑记录时,这会导致未设置URL"错误.

I tried leaving out the "editurl" attribute from the jqGrid invocation, but this results in a "No URL is set" error when the user clicks the "submit" button on the popup form for adding/editing records.

我尝试在editurl值中放入一个井号#",但这也失败了.

I tried putting in a single hash "#" for the editurl value, but this also fails.

有什么想法吗?

推荐答案

editurl在您的情况下必须为'clientArray'.

editurl must be 'clientArray' in your case.

这篇关于jqGrid editurl值用于本地编辑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆