angular-ui/ui-grid

Expand/collapse issue when grouping + filtering

Open

#4,915 建立於 2015年12月29日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
help wanted

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南