如何禁用某些列的jqGrid的搜索工具栏? [英] How to disable jqGrid's Search Toolbar for some columns?

查看:105
本文介绍了如何禁用某些列的jqGrid的搜索工具栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将搜索工具栏添加到我的jqGrid中,并且想知道是否仍然可以搜索某些列而不是所有列?

I have added the search toolbar to my jqGrid and was wondering is there anyway to search certain columns instead of all of them?

默认情况下,搜索工具栏会为每列显示一个搜索字段.

By default, the search toolbar shows a search field for every column.

推荐答案

是否为search:false属性? id = wiki:colmodel_options"rel =" noreferrer> colModel 搜索工具栏将没有该列的输入元素.

If you define search:false property for the column in the colModel the search toolbar will have no input element for the column.

这篇关于如何禁用某些列的jqGrid的搜索工具栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆