【问题标题】:How to add toolbar search for specific column in jqGrid?如何在 jqGrid 中为特定列添加工具栏搜索?
【发布时间】:2013-03-06 06:38:38
【问题描述】:

我在 jqGrid 中有三列,我想在前两个而不是第三个上添加工具栏搜索。这是我的工具栏搜索代码:

jQuery("#toolbar").jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false});

哦,我得到了解决方案: 只需将此应用于第三列 search:false

【问题讨论】:

    标签: jquery jqgrid


    【解决方案1】:

    我得到了解决方案:只需将此应用于第三列 search:false

    colModel:[          
                        {name:'exGroupName',index:'exGroupName', width:150},
                        {name:'exerName',index:'exerName', width:100},
                        {name:'view',index: 'view', search:false, label: 'view',width:100},
                    ],
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-15
      • 2011-08-21
      • 1970-01-01
      • 2012-06-04
      • 2011-09-01
      • 2011-05-10
      相关资源
      最近更新 更多