jqGrid-字段的多重验证 [英] jqGrid - multiple validation of fields

查看:124
本文介绍了jqGrid-字段的多重验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试验证多个日期字段,类似于执行该操作的方式

I am trying to validate multiple date fields similar to how it is being done on

jqGrid-字段验证

我按照该示例操作时遇到了一个问题,用户可以选择多个字段,因为它们仍然可以编辑,但是在选择了另一个字段之后不能将其放回显示模式.

I followed the example ran into an issue with the user being able to select multiple fields in that they were still editable but not being put back into display mode after another field is selected.

任何帮助将不胜感激.

推荐答案

您描述的问题仅与内联编辑的实现有关,与多个字段的验证无关.

The issue which you describe is connected only with the implementation of inline editing and not with the validation of multiple fields.

查看另一个演示,它们使用相同的验证,但是解决了所描述的问题.

Look at another demo which use the same validation, but which fixes the described problem.

这篇关于jqGrid-字段的多重验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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