2017-09-07 58 views
0

我可以在uigrid中添加默认复选框列的标题名称吗?如果是这样,我该怎么做?AngularJS uigrid复选框列标题名称

enter image description here

+0

是的,你可以。你可以关闭这个问题或在Plunker中添加你的代码或演示 –

+0

对不起,我的问题似乎不完整,你能告诉我怎么做? – depcka

+0

在uigrid中配置ui-grid'options' –

回答

1

我宁愿你重写UI格头的NG-模板。这只是一个黑客。

.ui-grid-header-viewport { 
    .ui-grid-header-cell { 
     .ui-grid-selection-row-header-buttons { 
      opacity: 1; 
     } 
     .ui-grid-selection-row-header-buttons:before { 
      content: 'checkme!'; 
     } 
    } 
}