You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider Toggle Columns button behavior - when columns configuration depends on state, when config in state changes - only header row updates configuration.
If config stored in the cache - columns are rendered correctly on page reloading.
Other information:
This reproduced only on 3.0 alpha version.
Quite similar behavior observed with ra-customizable-datagrid module, even if this module rerenders all selected DataGrid children under the hood, instead of conditional rendering one-by-one. Previously it worked fine.
If there are some backward incompatible changes in DataGrid, I'll be glad for some guidance about them, to find a way to fix external package.
Environment
React-admin version: "^3.0.0-alpha.3",
Last version that did not exhibit the issue (if applicable): 2.9.x
React version: ~16.8.0
Browser: Chrome
The text was updated successfully, but these errors were encountered:
tusmenko
changed the title
Dynamical DataGrid column changing not followed with List rerendering
[alpha.3] Dynamical DataGrid column changing not followed with List rerendering
Aug 30, 2019
What you were expecting:
I expect to be able to dynamically configure columns set in DataGrid
What happened instead:
Only header row changes its configuration, on column config change without page reload.
Steps to reproduce:
Toggle Columns
buttonRelated code:
https://codesandbox.io/s/simple-ju5rm
Consider
Toggle Columns
button behavior - when columns configuration depends on state, when config in state changes - only header row updates configuration.If config stored in the cache - columns are rendered correctly on page reloading.
Other information:
This reproduced only on 3.0 alpha version.
Quite similar behavior observed with
ra-customizable-datagrid
module, even if this module rerenders all selected DataGrid children under the hood, instead of conditional rendering one-by-one. Previously it worked fine.If there are some backward incompatible changes in DataGrid, I'll be glad for some guidance about them, to find a way to fix external package.
Environment
The text was updated successfully, but these errors were encountered: