gregnb / gregnb/mui-datatables
CSV Download without using Blob
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
Because SwiftUI WKWebView doesn't support support `blob:` URLs as `href` value in anchors with `download` attribute. Is there another way to use the build-in functionality without using Blob? or how I can create a custom function to replace the createCSVDownload?
## Expected Behavior
## Current Behavior
## Steps to Reproduce (for bugs)
1.
2.
3.
4.
## Your Environment
| Tech | Version |
|--------------|---------|
| Material-UI | |
| MUI-datatables | |
| React | |
| browser | |
| etc | |
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the createCSVDownload implementation and tracing how it creates the download link. Reproduce the behavior in a SwiftUI WKWebView, then determine a supported download path that avoids blob: URLs and verify that CSV export still downloads successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100