Export pdf Dashboard feature is truncating columns from the table widget
- Dominant language
- Clojure
- Stars
- 49.3k
- Forks
- 6.8k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 653
Description
### Describe the bug
When taking the pdf export of the dashboards, for the table widgets only few column in the table are exported to pdf.
This gives misinformation to the users.
### To Reproduce
1. Go to 'Dashboards view'
2. Click on 'Export as Pdf'
### Expected behavior
The pdf exported should have all the columns in widgets without removing the columns.
### Logs
_No response_
### Information about your Metabase installation
```JSON
{
"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"metabase-info": {
"databases": [
"h2",
"monetdb",
"starburst"
],
"run-mode": "prod",
"plan-alias": "enterprise-self-hosted",
"version": {
"date": "2024-12-04",
"tag": "v1.51.7",
"hash": "0dd6eae"
},
"settings": {
"report-timezone": null
},
"hosting-env": "unknown",
"application-database": "h2",
"application-database-details": {
"database": {
"name": "H2",
"version": "2.1.214 (2022-06-13)"
},
"jdbc-driver": {
"name": "H2 JDBC Driver",
"version": "2.1.214 (2022-06-13)"
}
}
},
"system-info": {
"file.encoding": "Cp1252",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "17.0.12+7",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "[https://adoptium.net/"](https://adoptium.net/%22),
"java.version": "17.0.12",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "17.0.12+7",
"os.name": "Windows 11",
"os.version": "10.0",
"user.language": "en",
"user.timezone": "Asia/Calcutta"
}
}
```
### Severity
Major
### Additional context
Metabase version:
metabase/metabase-enterprise:v1.53.6.4
Licensed version
Metabase with MonetDB driver
Contributor guide
Research direction
Start in the Dashboards view and reproduce the problem by exporting a dashboard containing a table widget with multiple columns using Export as Pdf. Compare the exported table with the widget and consider the work complete when the PDF includes every table column without truncation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100