Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 jqGrid 中有三列,我想在前两个而不是第三个上添加工具栏搜索。这是我的工具栏搜索代码:
jQuery("#toolbar").jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false});
哦,我得到了解决方案:只需将其应用于第三列搜索:false
我得到了解决方案:只需将此应用于第三列搜索:false
colModel:[ {name:'exGroupName',index:'exGroupName', width:150}, {name:'exerName',index:'exerName', width:100}, {name:'view',index: 'view', search:false, label: 'view',width:100}, ],