Comments (3)
PS I added the order Id after I initially made the bug and now realize that probably effects the ability for GH to tag this properly as escalated. Please update with the pro tag if you can!
from mui-x.
@mkusold the autosizing feature does not work the way you expect it. It autosizes columns when you tell it to via apiRef.current.autosizeColumns
. I'm curious as to what you expect to be the result when you resize a column. Maybe you can check the fluid width feature for the columns: https://mui.com/x/react-data-grid/column-dimensions/#fluid-width
from mui-x.
thanks for getting back to me. I think I was unclear whether you could combine autosize with flex. It appears that I can accomplish the results I'm looking for with these two together.
I would say that what I was hoping autosize would do off the bat is to allow a user to resize a column and for the other columns to accommodate within a certain range of defined minwidths. Here's what I got working using flex as a reference for what I was hoping autosizing would do:
Screen.Recording.2023-12-29.at.9.49.54.AM.mov
When I trigger autosize without these flex additions, It ends up overriding user defined column widths.
I'll close this out, but thanks for pointing me in the right direction
from mui-x.
Related Issues (20)
- [pickers] Could not resolve "dayjs" imported by "@mui/x-date-pickers" HOT 3
- [pickers] Can't start project using MUI and Remix + Vite. SyntaxError: Named export 'AdapterLuxon' not found. HOT 14
- [Datagrid v7] Error when resizing pinned columns HOT 5
- [data grid] noResultsOverlayLabel not visible after filtering when no absolute height is set HOT 2
- [data grid] Set column ordering for MUI DataGrid from view using apiRef.current.restoreState? HOT 1
- [data grid] Editable Cell Tabbing HOT 10
- [pickers] Bug with the `autoComplete` HTML attribute HOT 2
- [charts] Remove dependency on Material UI
- [charts] How do I customize edges/radius on bar charts? HOT 3
- [data grid] What's the best way to style two ranges differently to show two user presences HOT 4
- [data grid] Select all children rows in Row-Group HOT 7
- [data grid] Duplicating columns when grouping. HOT 5
- [data grid] Can't remove Tooltip when text is not truncate in DataGridPremium HOT 4
- [docs] Clarify what "experimental" and "unstable" means for the new features
- [data grid] Is there a way to determine if a table can horizontally scroll? HOT 8
- [data grid] Show All Button Return Empty Object in GridToolbarColumnsButton HOT 8
- [data grid] checkboxSelection throws error HOT 4
- [data grid] scrollToIndexes not working properly when getRowHeight set to `auto` HOT 24
- [DataGrid] `renderCell` `params.row` values on an auto-generated grouping row HOT 1
- [data grid] `renderCell params.row` values on an auto-generated grouping row HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.