Open AlexisFinn opened 3 years ago
I had the same problem and there is how I bypassed it... I don't display the download-csv tag and simulate a click on it after fetching the data with another button.
Nice, thank you. I ended up dropping this vuejs plugin in favor of a custom solution using papaparse and a bunch of async calls (the amount of data can be quite large, so I actually have to make several paginated requests to retrieve everything).
But nice solution.
leaving this open as I feel this would be a nice feature to have a url
parameter that would then retrieve the data from given url asyncronously, with a little progress bar maybe.
Up to the maintainers to close this if they feel it's too much trouble.
Is it better to write a composition api that we can call at any time we want? and we dont actually need a component. We can make a button by ourselves with @click event that will trigger a csv export function with composition api way
it would be great to have this as using $refs to specify the JsonCSV component is a bit of an antipattern
I had the same problem and there is how I bypassed it... I don't display the download-csv tag and simulate a click on it after fetching the data with another button.
This worked wonderfully, thank you!
Hello.
Is there any way to use this asyncronously ? My use case is:
Thank you.