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

Add print feature

Open mbrn opened this issue 8 years ago • 13 comments

Users can print table data

mbrn avatar Aug 07 '18 08:08 mbrn

no need for now.

mbrn avatar Mar 18 '19 08:03 mbrn

Are there any plans to add this feature?

Bulletninja avatar Apr 25 '19 07:04 Bulletninja

@Bulletninja i may add this feature. But currently i need to work on more important issues.

mbrn avatar Apr 25 '19 08:04 mbrn

why do you close the issue? shouldn't it be open to be addressed?

aramkoukia avatar May 11 '19 02:05 aramkoukia

Hi @aramkoukia ,

Because it has a export feature. Users could use export feature for printing.

mbrn avatar May 12 '19 16:05 mbrn

I would also be interested in this functionality for a few apps I'm working on. Users don't always like an extra step. 😊

vivirancy avatar May 16 '19 16:05 vivirancy

I would also like this feature.

dmetzler2012 avatar May 16 '19 20:05 dmetzler2012

+1

NickAlvesX avatar Sep 06 '19 16:09 NickAlvesX

its very easy to add print option just install below package. https://www.npmjs.com/package/react-to-print

then follow below image Capture1 Capture2

therohitjha avatar Jan 26 '20 17:01 therohitjha

@therohitjha it's not that simple, the way you're showing only prints the data that's your screen is showing, imagine that you have more than 100 rows and you need to print all the data, do you have a solution for that? i left a issue with this scenario on react-to-print with this situation: https://github.com/gregnb/react-to-print/issues/206

xStorm111 avatar Mar 19 '20 16:03 xStorm111

@therohitjha it's not that simple, the way you're showing only prints the data that's your screen is showing, imagine that you have more than 100 rows and you need to print all the data, do you have a solution for that? i left a issue with this scenario on react-to-print with this situation: gregnb/react-to-print#206

were you able to find solution for this issue?

rizabek-mukanov avatar May 26 '20 12:05 rizabek-mukanov

@therohitjha it's not that simple, the way you're showing only prints the data that's your screen is showing, imagine that you have more than 100 rows and you need to print all the data, do you have a solution for that? i left a issue with this scenario on react-to-print with this situation: gregnb/react-to-print#206

were you able to find solution for this issue?

I'm also kinda looking for something similar, although my use case is a little different. I am adding as a column, and would like to pass specific data into the content prop. Any ideas? Unfortunately, I am a little lost when it comes to react refs.

usahai avatar Aug 12 '20 17:08 usahai

@rizabek-mukanov Sorry for late response, i only saw this now Yes i did, i found out that my problem was the maxBodyHeight, if i remove it, react-to-print was able to print all data

xStorm111 avatar Aug 13 '20 08:08 xStorm111