【问题标题】:Remove collapse icon without disable collapse ability删除折叠图标而不禁用折叠功能
【发布时间】:2017-05-08 14:01:11
【问题描述】:

我在网格上使用 extjs 分组功能,有没有一种方法可以在不禁用折叠功能的情况下删除折叠/展开 ([+]/[-]) 图标。

【问题讨论】:

    标签: extjs


    【解决方案1】:

    覆盖css

    .customGrid .x-grid-group-hd-collapsible .x-grid-group-title {
        background-repeat: no-repeat;
        background-position: left center;
        background-image: none !important; //Changed
        padding: 0 0 0 0px //Changed
    }
    

    然后将 cls: 'customGrid', 添加到您的网格中

    【讨论】:

      猜你喜欢
      • 2015-12-10
      • 2016-02-04
      • 1970-01-01
      • 2014-05-22
      • 2015-06-04
      • 1970-01-01
      • 2018-03-05
      • 1970-01-01
      • 2011-01-22
      相关资源
      最近更新 更多