我正在重新审视我在 Kendo 论坛(现在是只读的)上提出的一个问题。这是original thread .
Jon 提出的解决方案建议:
If you pull out the validation message out of the span, it will show up (use jQuery to append it to the parent element).
我已经让验证工作 - 我只是无法显示验证消息(至少在它可见的地方)。我不确定要附加什么。
非常感谢任何建议。
最佳答案
您应该附加验证工具提示元素 <span class="k-invalid-msg" data-for="name"></span>
到编辑器容器。哪里 “姓名”对应于您的编辑器输入的名称。
文档:columns.editor
关于kendo-ui - 网格中的剑道 DropDownList 验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14835451/