gregnb / gregnb/mui-datatables

Download CSV downloads all data instead of just current page data in server side mode

Open
#542 16 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

In server-side mode, download CSV will only download data that is available to render the current page. It is possible to use a different source for CSV creation so that we can provide full data in the CSV file.

## Expected Behavior

Given an option to provide custom data while Creating CSV.
## Current Behavior

Only use data that is queried for current page rendering.

## Steps to Reproduce (for bugs)

## Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | "@material-ui/core": "^3.9.0" |
| MUI-datatables | "mui-datatables": "^2.0.0-beta-1" |
| React | "react": "^16.6.0" |
| browser | Chrome |
| etc | |

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the server-side CSV download path and how it obtains the data for the current page. Define how a custom data source would be provided for CSV creation, then verify that the export can include full data while existing current-page behavior remains supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.