【问题标题】:How to make jqGrid Search when enter key is pressed in the find dialog在查找对话框中按下回车键时如何进行 jqGrid 搜索
【发布时间】:2015-06-29 14:17:21
【问题描述】:

我遵循了here 的解决方案,但我无法让它发挥作用。我正在使用 free-jqGrid 4.9.0 版。我也没有收到任何 JavaScript 错误。在调试时,我看到控件刚刚通过 click 方法调用,没有任何反应。

不胜感激, 谢谢

【问题讨论】:

    标签: javascript jquery jqgrid free-jqgrid


    【解决方案1】:

    如果使用免费的 jqGrid 4.9,您只需指定 searchOnEnter: true 选项。您可以使用 jqGrid 的searching 选项来指定用于搜索工具栏的搜索对话框的搜索选项。例如

    searching: {
        closeAfterSearch: true,
        closeAfterReset: true,
        closeOnEscape: true,
        searchOnEnter: true,
        multipleSearch: true
    }
    

    the wiki article

    【讨论】:

    • 谢谢,太棒了!
    猜你喜欢
    • 2011-08-03
    • 2018-12-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-09-18
    • 1970-01-01
    • 1970-01-01
    • 2011-09-11
    相关资源
    最近更新 更多