Giter Club home page Giter Club logo

Comments (13)

Flash619 avatar Flash619 commented on May 13, 2024 5

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

from material-table.

mbrn avatar mbrn commented on May 13, 2024 2

no need for now.

from material-table.

dmetzler2012 avatar dmetzler2012 commented on May 13, 2024 2

I would also like this feature.

from material-table.

therohitjha avatar therohitjha commented on May 13, 2024 2

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

from material-table.

mbrn avatar mbrn commented on May 13, 2024 1

Hi @aramkoukia ,

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

from material-table.

xStorm111 avatar xStorm111 commented on May 13, 2024 1

@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:
MatthewHerbst/react-to-print#206

from material-table.

Bulletninja avatar Bulletninja commented on May 13, 2024

Are there any plans to add this feature?

from material-table.

mbrn avatar mbrn commented on May 13, 2024

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

from material-table.

aramkoukia avatar aramkoukia commented on May 13, 2024

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

from material-table.

NickAlvesX avatar NickAlvesX commented on May 13, 2024

+1

from material-table.

rizabek-mukanov avatar rizabek-mukanov commented on May 13, 2024

@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?

from material-table.

usahai avatar usahai commented on May 13, 2024

@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.

from material-table.

xStorm111 avatar xStorm111 commented on May 13, 2024

@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

from material-table.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.