【问题标题】:how to using maskTextBox in jqgrid Add/Edit PopUp如何在 jqgrid 添加/编辑弹出窗口中使用 maskTextBox
【发布时间】:2012-01-29 10:01:20
【问题描述】:

我想在jqgrid的弹出面板中创建customText框如下:

4digit-3character-4digit

请帮助我。谢谢

【问题讨论】:

  • 你在“弹出面板”下是什么意思?你使用表单编辑吗?您想要屏蔽输入字段吗?

标签: jquery jqgrid jqgrid-asp.net


【解决方案1】:

您可以使用digitalBush masked jQuery plugin 进行编辑。您应该在 dataInputeditoptions 中初始化屏蔽插件

dataInit: function (elem) {
    $(elem).mask("9999-aaa-9999");
}

查看the demoanother answer 了解更多详情。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-14
    • 1970-01-01
    相关资源
    最近更新 更多