-
-
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
[DataGridPro] Footer in "grid" zone/container #2795
Comments
Hi, @clmntrss thanks for raising this. Can you please provide the codesabdox reproduction? You can use this template https://codesandbox.io/s/material-ui-issue-next-o7xkt as a starting point. |
You can find it here : I would like to add that the behavior I've in mind is more like the summary on Antd table |
Ah ok, I get it. This sounds more like a column pinning feature, no? Can you check here #193 if this matches your requirement (we didn't account for the footer to be included)? |
I took a look at issue and I think it's more like Row Pinning issue and not column might be linked to #1251 OP said something that match the idea I want to realise with the footer on codesandbox Edit : I think this example with antd table is a bit more understandable since the link I gave mix column pinning and row |
Ok, yes the example from Antd does look like a combination of row and column pinning. |
I think that @clmntrss could implement this with #1251 + #192 + a custom last row's cell. I think that we could close this issue once they have landed, with a demo codesandbox to prove it's fixed. @mui-org/x This makes me wonder, shouldn't #1251 (row pinning) be in the Pro plan? #193 (column pinning) is. |
The data grid now supports row pinning and aggregation features |
Duplicates
Latest version
Summary 💡
Hello, I'm currently using the Datagrid on a project and I use a custom Footer to get total of each columns if its a number or whatever. The issue i've came when the minimal size of the table is bigger than the current window width. I've 2 different scrollbar
I've been able to "fix" this issue with but it's breaks the flex ability of the grid and create sometime kind of infinite resizing on certain devices
minWidth: 'fit-content',
Examples 🌈
Initial behavior
With custom fix
Motivation 🔦
I would be able to put the footer in the data grid window container or to have a synced scroll between both the footer row and the grid container.
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: