gregnb / mui-datatables

Datatables for React using Material-UI
MIT License
2.71k stars 931 forks source link

the Downloaded content from CSV download is not consistent with the date filtered using the filters from filter table option #1813

Open ramcharan136 opened 2 years ago

ramcharan136 commented 2 years ago

Expected Behavior

the data which download from CSV download should be the same as displayed data after filtering is done.

Current Behavior

After filtering the data using filters the displayed data is not the same as the data shown on CSV download. Here the downloaded csv is showing the entire table content.

filtlered data pic the above picture shows filtered data.Here count of records is 14. downlaod on csv the above picture shows the download date from CSV is shown is excel view, the count is 28. here CSV download is done after filtering,

there is variance in the count of records. the records should be consistent.

sww314 commented 2 years ago

Are you using the downloadOptions useDisplayedRowsOnly: boolean ? https://github.com/gregnb/mui-datatables#muidatatable-