angular-ui/ui-grid

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

Open

#6.303 aberto em 8 de jul. de 2017

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issueneeds: decision

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador