在“网格”面板组标题中隐藏“展开/折叠”按钮 [英] Hide Expand/Collapse button in Grid panel Group Header
本文介绍了在“网格”面板组标题中隐藏“展开/折叠”按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的网格中,我想保留分组功能以及 groupHeaderTpl
(目前在标题中显示一些自定义文本),但是我想隐藏[+ / - ]按钮。
In my grid I would like to retain the grouping feature along with a groupHeaderTpl
(Currently showing some custom text in the headers) , but I want to hide the [+/-] button from the header.
我尝试使用CSS样式,但没有成功。有人能帮我实现吗?
I tried it with CSS styles but without success. Can somebody help me to achieve this?
推荐答案
实现 可折叠 这样的属性
Implement the collapsible property like this
features: [{ftype:'grouping', collapsible : false}]
这篇关于在“网格”面板组标题中隐藏“展开/折叠”按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文