material-table icon indicating copy to clipboard operation
material-table copied to clipboard

export csv not giving proper data for date

Open KeshriAyushi22 opened this issue 6 years ago • 5 comments

while exporting CSV for the date I didn't get a few of the data as expected.

issue issue1

KeshriAyushi22 avatar Aug 19 '20 10:08 KeshriAyushi22

Hi @KeshriAyushi22, the dates have been formatted like that because the Excel column is not wide enough to fit it. Try widening the date column within Excel and report back. Thanks

ollyrowe avatar Aug 19 '20 19:08 ollyrowe

@ollyrowe Hi, Thanks for the solution, wasn't knowing size of column could impact . Also, can you tell me , Is there a way to export the hidden columns in material table? I tried doing exportAllData:true , but no luck.

KeshriAyushi22 avatar Aug 20 '20 08:08 KeshriAyushi22

@KeshriAyushi22, yes there is, you just need to add the "export: true" option to your column definition.

ollyrowe avatar Aug 20 '20 16:08 ollyrowe

Hi @ollyrowe, its not working i tried it with csvExport: true , export: true both.

KeshriAyushi22 avatar Aug 24 '20 10:08 KeshriAyushi22

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Nov 22 '20 11:11 stale[bot]