angular-ui/ui-grid

grouping feature: are there plans to add additional styles for selection checkbox?

Open

#6,303 创建于 2017年7月8日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (2,496 fork)batch import
good first issueneeds: decision

仓库指标

Star
 (5,395 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

If grouping and selection features uses together, selection checkbox doesn't have any condition for state. If some rows selected in group or not selected, or all selected it always show as 'not checked'.

I have tried to replace selectionRowHeaderButtons template in $templateCashe vs my custom directive and done additional logic for ng-class and it's working good, but without search/filtering, With filtering grid re-rendering rows with own internal logic and it's hard to maintain.

I posted this question on stackoverflow and to gitter but nobody replied on this.

It will be good to have states:

  • all row selected
  • some rows selected
  • no rows selected/all rows unselected

Perhaps somebody has already resolved this case. Thanks.

贡献者指南