Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json download doesn't work #147

Open
richiesgr opened this issue Jan 17, 2023 · 3 comments
Open

Json download doesn't work #147

richiesgr opened this issue Jan 17, 2023 · 3 comments

Comments

@richiesgr
Copy link

Hi
when I use download as CSV all is ok but the JSON button doesn't work any idea why ?
Thanks

@RandomFractals
Copy link
Owner

@richiesgr is that in Flat Data Grid renderer? That's the only renderer that provides CSV and JSON download options in this data table renderers extension. It uses github's flat data viewer. See related renderer info in docs: https://github.com/RandomFractals/vscode-data-table#flat-data-%E4%B8%AD-grid-renderer

Please provide a screenshot of the renderer you are using and the errors you get when you go to Help -> Toggle Developer Tools in VSCode to review and troubleshoot it.

@ajshedivy
Copy link

ajshedivy commented Jun 19, 2024

Hi @RandomFractals, I am also running into this issue with exporting the rendered table as JSON when using the Flat Data Grid. To recreate open the iris-vega-data.ipynb and run the first cell, then change the presentation to Flat Data Grid, then export the chat as JSON. No errors appear on screen. Here is view of the dev console after going through those steps:
image

Edit: CSV export works just fine

@RandomFractals
Copy link
Owner

RandomFractals commented Jun 27, 2024

@ajshedivy will need to investigate this further with the latest version of flat data viewer library and changes in VS Code notebooks rendering API after this extension was published. Thanks for the output error screenshot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants