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] Add fluid columns width support #566

Merged
merged 29 commits into from
Nov 11, 2020

Conversation

DanailH
Copy link
Member

@DanailH DanailH commented Nov 10, 2020

I'm reopening the PR #480 for the fluid columns. The tests are passing locally. Everything is the same as before with one exception -> the viewportWidth is now being selected from gridState.viewportSizes.width , using the refactor that @dtassone did.

Closes #347

DanailH and others added 26 commits October 21, 2020 16:57
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
…:DanailH/material-ui-x into feature/DataGrid-347-columns-fluid-width
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
…:DanailH/material-ui-x into feature/DataGrid-347-columns-fluid-width
@DanailH
Copy link
Member Author

DanailH commented Nov 10, 2020

When it's time to merge, I'll write a custom commit message before merging for the squished commits to avoid the noise.

@oliviertassinari
Copy link
Member

oliviertassinari commented Nov 10, 2020

When it's time to merge, I'll write a custom commit message before merging for the squished commits to avoid the noise.

From my perspective, the best approach is to empty the description field. In this case, I would also rename the commit message to something more descriptive. [reopen] isn't a valid label we have.

Nov-10-2020 11-44-36

 

@oliviertassinari oliviertassinari changed the title [Reopen] Fluid columns width [DataGrid] Add fluid columns width support Nov 10, 2020
@oliviertassinari oliviertassinari added component: data grid This is the name of the generic UI component, not the React module! new feature New feature or request labels Nov 10, 2020
DanailH and others added 3 commits November 10, 2020 12:14
…otStyles.ts

Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
…:DanailH/material-ui-x into feature/DataGrid-347-columns-fluid-width
@DanailH
Copy link
Member Author

DanailH commented Nov 11, 2020

@dtassone can you check the PR when you have time, please 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DataGrid] Columns to have a fluid width
4 participants