Skip to content
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

[DataGrid] Fix column reorder instability #950

Merged
merged 9 commits into from
Feb 1, 2021

Conversation

dtassone
Copy link
Member

@dtassone dtassone commented Jan 29, 2021

fix #936

@DanailH
Copy link
Member

DanailH commented Jan 29, 2021

Can we add a test case for this one?

@oliviertassinari oliviertassinari added component: data grid This is the name of the generic UI component, not the React module! bug 🐛 Something doesn't work labels Jan 29, 2021
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that the test case is correct, 2 issues with it:

packages/grid/x-grid/src/tests/selection.XGrid.test.tsx Outdated Show resolved Hide resolved
packages/grid/x-grid/src/tests/selection.XGrid.test.tsx Outdated Show resolved Hide resolved
@dtassone dtassone force-pushed the fixOnSelectionChange branch from c1e633a to 5c31628 Compare February 1, 2021 11:16
@dtassone
Copy link
Member Author

dtassone commented Feb 1, 2021

I don't think that the test case is correct, 2 issues with it:

Yes I knew, it's fixed now

@oliviertassinari oliviertassinari changed the title [DataGrid] Fix on selection change [DataGrid] Fix column reorder instability Feb 1, 2021
dtassone and others added 2 commits February 1, 2021 16:01
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
@dtassone dtassone merged commit 64ba484 into mui:master Feb 1, 2021
oliviertassinari added a commit to oliviertassinari/mui-x that referenced this pull request Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[XGrid] columns are reordered when onSelectionChange modifies some unbound datagrid data
3 participants