material-table-core / core

Datatable for React based on material-ui's table with additional features. Support us at https://opencollective.com/material-table-core
https://material-table-core.github.io
MIT License
296 stars 146 forks source link

Not able to export data when more number of columns are present #752

Closed pratik-nagpure closed 1 year ago

pratik-nagpure commented 1 year ago

I am trying to export PDF and CSV. If there are more number of columns lets say more than 30 then application hangs and I see the error in console that "Will not be able to print row -1 correctly since it's minimum height is larger than page height"

I have also created the sandbox to reproduce this issue

Let me know if there is any fix for this. Thanks in advance

Domino987 commented 1 year ago

Seem like this is a problem with the pdf generator. Please see https://github.com/simonbengtsson/jsPDF-AutoTable/pull/732 and that is fixed on their end, let me know.

pratik-nagpure commented 1 year ago

Hi @Domino987 I tried with the latest of @material-table/exporters and jspdf-autotable I am still able to reproduce this issue

image image

Thanks

Domino987 commented 1 year ago

As you can see here we are just passing the data into the jsPDF library. If the library we are using is the problem, there is noting I can do.

stale[bot] commented 1 year ago

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.