shlomiassaf / ngrid

A angular grid for the enterprise
https://shlomiassaf.github.io/ngrid
MIT License
240 stars 39 forks source link

Expand / Collapse all rows #205

Open adrian-marcelo-gallardo opened 2 years ago

adrian-marcelo-gallardo commented 2 years ago

Please describe the feature you would like to request.

Provide an API for expanding/collapsing all rows.

What is the use-case or motivation for this proposal?

I have an infinite table of orders. When new orders arrive, the user can click a button to load them into the table.

When this happens, I need to scroll the current table to the top and collapse any open detailRow (to avoid confusion).

Is there anything else we should know?