gregnb / gregnb/mui-datatables

CSV Download without using Blob

Open
#1,737 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.