-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table tree/sorting/... state is lost every time a Dialog is open from a clickable cell #51
Comments
@Domino987 another issue in regards to the table losing state. Looks like it's related to #48 |
@oze4 Probably yes. This might cause it. The change was introduced to respond to changes to the default prop changes, like initial page etc. If we remove this, these changes of the prop during the lifecycle of the table will be ignored. Maybe we can think of a way to get around it. To both respond to the changes but not lose State |
Sounds good to me. In that case I will reopen this issue. |
Ok thanks a lot for your awesome work for keeping this project up-to-date. |
@Domino987 so this was introduced in case someone wants to start on page 2 (or 5 or 103 or whatever) vs page 1? I'm not sure I follow entirely. |
All updates will be on #59 Closing. |
Hello all,
Thanks for keeping this project alive !
I am using latest version of @material-table/core.
I have a table with custom rendering in a column, that displays a clickable icon. Every time it is clicked, a state is changed to open a Dialog.
However, everytime it is done, the state of the table is lost, i.e. if any column sortering has been set up, it is lost. Similarly, I am also using tree data, and if some rows have been expanded, everything is collapsed like in initial state.
Do you have any idea of how to avoid this behaviour and keep the current table state ?
The text was updated successfully, but these errors were encountered: