angular-ui/ui-grid

Expand/collapse issue when grouping + filtering

Open

#4.915 aberto em 29 de dez. de 2015

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
help wanted

Métricas do repositório

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

Description

By following these steps on Tutorial 401, you can see a disconnect between rendered rows and the collapse/expand all icon:

  • Group rows by Age using the column header menu
  • Use the expand all icon to expand all rows
  • Search the Name for xyz and see all rows filtered out (hidden)
  • Clear that search and see all rows rendered again in a collapsed state
  • Note that the expand all icon is actually in a collapse all state

I would expect one of two scenarios:

  • When clearing xyz, all rows would be rendered again in their previous expanded/collapsed state
  • The collapse all icon would be properly displayed as an expand all icon

Based on my application requirements, I would must prefer that rows are rendered again in their previous state.

Guia do colaborador