Comments (15)
You have created a support request under the "Priority Support" terms, which is a paid add-on to MUI X Premium ⏰. Please validate your support key using the link below:
https://tools-public.mui.com/prod/pages/jyhs86t?repo=mui-x&issueId=10505
Do not share your support key in this issue!
Priority Support is only provided to verified customers. Once you have verified your support key, we will remove the support: unknown
label and add the support: priority
label to this issue. Only then the time for the SLA will start counting.
from mui-x.
@lisaWriteJava Thank you for using MUI X Data Grid.
Could you elaborate more on the problem you are facing? Sharing a screen record showing the issue will help.
For a test, I tried the codesandbox link attached in the issue and Print works for me in both Firefox and Chrome, the screenshots are attached!
Thank you!
from mui-x.
I apologize, I sent the wrong sandbox, https://codesandbox.io/s/ph2c4r?file=/Demo.js is the correct one. So the first column doesn't export the one with the +, it starts from order id. I tried renderHeader and still it wouldn't export.
from mui-x.
Ah ok so you mean the column with the +
icons for expansion of the master detail panel, it's the intended behavior to not make it part of print export, as it couldn't be further interacted with so doesn't make a lot of sense to make it part of the exported table.
Let me know if you have further questions.
from mui-x.
ahh we had a client that wants to use that master detail (+) column to show/hide a component that may have a lot of data like hundreds of lines. Since it wouldn't look well in a table, we were going to show/hide a card with this information but want to export the info with a print or excel export. Is this achievable. Maybe the approach to do it is wrong and if so what would be the best way to implement this?
from mui-x.
Can you share a minimal demo of the current approach being used and the intended behavior in a codesandbox example, it will help us understand the issue and suggest a better solution.
from mui-x.
Here's a sandbox: https://codesandbox.io/s/zen-smoke-lmnccz?file=/Demo.js I mocked up the first column (+) to show /hide details passed to it. I could make it a larger list but, it would be the same idea.
I didn't attempt to put it in a cell like the other data since it would look awful to the user. But if there is a way it can go into a cell but only display like master detail that could work too.
from mui-x.
Following your example, I can export the card just fine (without the +/- icons which obviously don't make sense as they won't be interactive in the PDF/printed version)
Are you having difficulties in getting a result similar to one I attached above?
from mui-x.
so what the user has asked is to be able to export the hidden data when I do an export to csv or excel. It can stay hidden in the table but be exportable. I understand that print is available but they'd like the same info to be exported to excel
@MBilalShafi
from mui-x.
It is possible for the hidden data to be able to be exported on a csv or excel export? It's not goign to be somethign they need to fetch but it's just so large it should be shown in the initial grid @MBilalShafi
from mui-x.
I don't think that we support that use-case. What do you mean by hidden data?
You've opened this issue as a Priority Support issue but haven't confirmed your support key. Is this a Priority Support issue?
from mui-x.
@romgrk The support key is 66765. So when I say hidden data, I mean the data from details. I'd like that to be able to be exported also but not shown unless we click to show that data on the screen.
from mui-x.
It's not possible to do that for now, the hidden data from details panel is not data formatted in a way the datagrid can use, it's HTML. If you want to add that feature, I would suggest that:
- You look into row grouping, and group the additional data that you want to export as children of each of your rows.
- Write the export logic yourself, you'll be free to customize however you want.
from mui-x.
Great thanks so much. I appreciate the assistance. This is help greatly in explaining our strategy to the customer.
from mui-x.
👍
from mui-x.
Related Issues (20)
- [charts] The tooltip should get a position option HOT 3
- I have the following order, when will I be able to download my license key? HOT 1
- [data grid] valueFormatter doesn't show the updated value after processRowUpdate HOT 19
- [DateTimePicker] PickerField shows `0NaN` for year portion of formatted input field value when using Eastern Arabic numerals HOT 5
- [data grid] include rows / leaf nodes prop in custom aggregation callback HOT 1
- MUI DataGrid Pro - restoreState with Column dimensions and columnVisibilityModel ignores column dimensions HOT 2
- [pickers] Required field does not work as expected for DatePicker HOT 1
- NextJs Mui x-Charts Bar colors go black HOT 2
- Can't close (delete) Data Grid column filter if type = 'singleSelect', operator = 'is any of' HOT 2
- Module not found: Package path ./_lib/format/longFormatters is not exported from package date-fns in version v6.18.6 HOT 1
- [tree view] onBlur event causes TreeView performance issues
- Time picker default value in Mac OS HOT 1
- [pickers] When embedded inside iframe focus shifts to top of iframe when clicked HOT 7
- [docs] Add Pickers RTL support section
- [data grid] Input type number lets type non number. HOT 8
- [pickers] `MultiSectionDigitalClock` incorrect RTL behavior HOT 6
- [data grid] Filtering on non filterable columns yield weird behavior
- [tree view] Polish the look and feel HOT 1
- [data grid] Autosizing does not adjust when an individual column's width is set by the user HOT 3
- MuiPickersFadeTransitionGroupRoot: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. 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.