-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[XGrid] columns are reordered when onSelectionChange modifies some unbound datagrid data #936
Comments
I can't reproduce your issue 🤔 |
@dtassone You need to uncomment |
sorry I didn't realized that I have saved the comment. |
I have created a new reproduction to show that it's not an issue with the selection feature: https://codesandbox.io/s/material-demo-forked-4s6qs?file=/package.json, it seems related to the columns and reorder feature. |
Current Behavior 😯
When
onSelectionChange
update some data (even unrelated to what is bound to the datagrid) then the column order is resetSee reproducer from fork of your sample XGrid example : https://codesandbox.io/s/material-demo-forked-r36ci
Expected Behavior 🤔
The selection does not change the column ordering.
Steps to Reproduce 🕹
The columns are reordered to the default state for no reason.
Context 🔦
In a trial to evaluate your product we faced this issue.
Your Environment 🌎
A fork of your sample on codesandbox
The text was updated successfully, but these errors were encountered: