shlomiassaf / ngrid

A angular grid for the enterprise

Home Page:https://shlomiassaf.github.io/ngrid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat(ngrid): integrate detail row state with context

shlomiassaf opened this issue · comments

Currently, all detail rows are managed by the plugin.

There is no state management so context is lost when moving between pages (pagination)

There is a bug which keeps the detail row opened after moving a page, this needs to be fixed by closing all detail rows between pages.

However, if this is done it will not get opened again when moving back to the page.

To solve this right we need to store the state before moving to the next page.

Currently, the context does not have a state for detail row and since detail rows are external to the grid it will not have one explicitly.

So the first thing to do is to add a feature to the context, to save arbitrary date for other plugins, with that we can save the state and fix the issue.