Code Monkey home page Code Monkey logo

Comments (3)

rodrigofariow avatar rodrigofariow commented on June 24, 2024 1

I was able to solve this by getting the visible columns and doing some custom logic with exceljs to decide when to use valueFormatter, etc.

I was able to get pretty much everything I wanted, including the computedWidth of each column so I would say I'm sorted 👍

It's probably best to not include such API if possible anyways.

Cheers!

from mui-x.

romgrk avatar romgrk commented on June 24, 2024

Do you have a reproduction case?
Have you tested with the latest version that was released today?

Linked: #10045

from mui-x.

rodrigofariow avatar rodrigofariow commented on June 24, 2024

Hi @romgrk ,
Thanks for the reply.
I haven't tested it but from my understanding it's fundamentally different from what I'm trying to achieve.

That issue solves an export that is purely based on client-side, which means all the data that can possibly be exported exists in rows prop, be it currently shown on the table or not.

The data I want to export won't be available from rows prop for my use case.
The reason is that I want the rows prop to only have the paginated data that the user fetched by scrolling down so far.

However, on the export itself, I want to include more pages that I will fetch myself separately. This data is not accessible by any of the export methods because it won't be present in rows prop

There might be a better solution to my problem but hopefully, this helps you better understand my reasons.

Happy to provide more information but it's not about a bug or anything, it's about solving a particular use case that may or may not require a new api.

from mui-x.

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.