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

Change Presentation for single cell #159

Closed
ajshedivy opened this issue Jun 22, 2024 · 1 comment
Closed

Change Presentation for single cell #159

ajshedivy opened this issue Jun 22, 2024 · 1 comment

Comments

@ajshedivy
Copy link

ajshedivy commented Jun 22, 2024

@RandomFractals I've been experimenting with this extension and Its awesome!

One thing I've noticed is that when I change the presentation of a cell (by selecting ...) for json for example, all cells with output type json are also re-rendered. It would be cool if I could set the presentation for a single cell to show my data with the Data Table renderer, and another output cell as a Flat Data Grid renderer. Do you know of any workarounds for something like this? Or is this even possible? Thanks! Let me know if you have any questions for me

@RandomFractals
Copy link
Owner

RandomFractals commented Jun 27, 2024

@ajshedivy that is not currently possible with the way VS Code notebooks render cells based on the selected output mime type. VS Code notebook associates outputs with the selected renderers by mime type for the whole notebook and does not store individual cell output renderer association selection atm.

Please log an issue in VS Code repository for that dev team to enable this functionality. Closing this as there is not much we can do on our end to mitigate it.

Been wanting to use different renderers per cell selectively for a long time too after producing a few different renderers for data tables and maps. 🤗

P.S.: thanks for pushing this PR! Would be good to see VS Code DB2 for IBM tools use our data table renderers as most VS Code data notebook extensions use them now.

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

2 participants