【发布时间】:2013-03-06 06:38:38
【问题描述】:
我在 jqGrid 中有三列,我想在前两个而不是第三个上添加工具栏搜索。这是我的工具栏搜索代码:
jQuery("#toolbar").jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false});
哦,我得到了解决方案: 只需将此应用于第三列 search:false
【问题讨论】:
我在 jqGrid 中有三列,我想在前两个而不是第三个上添加工具栏搜索。这是我的工具栏搜索代码:
jQuery("#toolbar").jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false});
哦,我得到了解决方案: 只需将此应用于第三列 search:false
【问题讨论】:
我得到了解决方案:只需将此应用于第三列 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},
],
【讨论】: