Comments (7)
Hey @Arata-Yoshida
I am almost 100% sure that this is not possible.
This is due to the structure the column headers are rendered with.
As you can see from the screenshot below the group headers are rendered within individual header rows.
![Screenshot 2024-05-22 at 12 25 53](https://private-user-images.githubusercontent.com/32863416/332761817-775d21ba-af53-4cb6-9f7c-e0facc6a18bd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NzU3NTcsIm5iZiI6MTcyMTQ3NTQ1NywicGF0aCI6Ii8zMjg2MzQxNi8zMzI3NjE4MTctNzc1ZDIxYmEtYWY1My00Y2I2LTlmN2MtZTBmYWNjNmExOGJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDExMzczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmYzI1NDY2MmI2NjgxZDRkMGNmYWZmZDlmMmMwM2UyNmVhNzUxODdhZTA1MmE1ZmNlYzc5YTEwMTRjYTJlNTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZY05Egx2x69piZyAx6DF3-MmdMF0aMWcPhXNaFYtpQc)
![Screenshot 2024-05-22 at 12 26 07](https://private-user-images.githubusercontent.com/32863416/332761855-6d41344a-5b8e-4d78-9087-fe9b029b1ae5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NzU3NTcsIm5iZiI6MTcyMTQ3NTQ1NywicGF0aCI6Ii8zMjg2MzQxNi8zMzI3NjE4NTUtNmQ0MTM0NGEtNWI4ZS00ZDc4LTkwODctZmU5YjAyOWIxYWU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDExMzczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkMjFjZmQwNWNhOTA5ZWVmODM0OWI2OWZlMWIwZmJhMzQzNDhiMGVlNGRlZjhjNmExODFiZGIzNTg0ZWZjMjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Mgn8DrXPiYXbo00TZsR5LQ_rLH9Vllp5DmEb6G38jqE)
Maybe @romgrk knows a way with heavy customization, but I am almost sure that this is not possible.
@cherniavskii are we planning to support spanning the empty header cells when ungrouped?
from mui-x.
I'm not sure if I understand the request correctly, more details would be appreciated, but from what I can understand it doesn't sound doable.
from mui-x.
I'm sorry, it seems that I haven't been able to properly communicate what I want to do and what the problem is, so I've redrawn the image.
Could you support us how we can solve this problem?
from mui-x.
That's not possible with the datagrid. Headers are organized in rows, and we don't support rowspan in the headers.
from mui-x.
I see. But is there any workaround to achieve the table we want?
from mui-x.
You could try to use CSS to heighten the cell and float or negative-margin it at the start of the grid, but that's not something we can support.
from mui-x.
The issue has been inactive for 7 days and has been automatically closed.
from mui-x.
Related Issues (20)
- [data grid] CSV export adds malformed/buggy characters HOT 2
- [TreeView] Expose the item slots at the tree view level
- [data grid] Is Clipboard cut available? HOT 1
- [data grid] Save / Restore state with dynamic columns HOT 1
- [pickers] dayjs with default timezone broke picker HOT 2
- [pickers] Page fails to load Date Picker Component with Joy UI using CssVarsProvider Wrapper HOT 5
- [charts] Improve default color contrast in dark mode HOT 9
- [RFC] Move to a more modular structure for tests in code and CI HOT 3
- Add Audio Player/Waveform component HOT 2
- [charts] Cannot scroll the page when touch inside the chart HOT 4
- [data grid] Pivoting ETA HOT 4
- Pie Chart shows a slice for 0 value whenever the object representing a 0 is last in the array HOT 2
- [DataGrid] CSV export negative numbers in string has quotation HOT 3
- [data grid] Is there a way to override the default copy/paste functionality in DataGrid? HOT 6
- New sets of components HOT 5
- [charts] BarChart legend overlaps charts area HOT 2
- [pickers] Recipes HOT 1
- [data grid] I want to add Apply and Cancel buttons to the GridToolbarFilterButton HOT 5
- [pickers][DateTimeRangePicker] Manually selecting the date then selecting the time in the popover reverts the date to today HOT 1
- [charts] Support single color area chart HOT 6
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.