Dynamic Header Generation Based on Column Count in MUI DataGrid #15278
Labels
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
support: commercial
Support request from paid users
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
The problem in depth
I'm using MUI DataGrid, and I want the header row in the Excel export to be dynamically generated, spanning across all columns. This header should display information such as the download timestamp and user info, with a custom background color. Currently, I need to set a fixed column count, so it doesn’t adjust dynamically based on the actual column count. Is there a solution to achieve this functionality?
Here is the live demo:
https://stackblitz.com/edit/react-wgnwah?file=Demo.tsx
Your environment
`npx @mui/envinfo`
Search keywords: Data ,Grid , Premium, GridToolbarExport, GridExceljsProcessInput,
Order ID: 91010
The text was updated successfully, but these errors were encountered: