是否可以从jqGrid标题中删除展开/折叠按钮? [英] Is it possible to remove the expand/collapse button from the jqGrid header?

查看:131
本文介绍了是否可以从jqGrid标题中删除展开/折叠按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 http://www.trirand.com/jqgrid/上提供的jqGrid jqgrid.html 我无法找到一种方法来禁用标题右上角的展开/折叠按钮。有人知道是否有选项吗?

I'm using the jqGrid available at http://www.trirand.com/jqgrid/jqgrid.html and I can't find a way to disable its expand/collapse button on the top right of the header. Anyone know if there's an option to do that?

我想删除用红色圈出的东西:
替代文字http://img263.imageshack.us/img263/2008/33702108.png

I'd like to remove the thing circled in red: alt text http://img263.imageshack.us/img263/2008/33702108.png

推荐答案

是的,有一个选项: hidegrid:false



来自 jqGrid文档wiki for Options


hidegrid

boolean

启用或禁用显示/隐藏网格按钮,该按钮显示在标题图层的右侧。仅当caption属性不是空字符串时才生效。

Enables or disables the show/hide grid button, which appears on the right side of the Caption layer. Takes effect only if the caption property is not an empty string.

这篇关于是否可以从jqGrid标题中删除展开/折叠按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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