How to make output cell scrollable?
Hi
Does anyone know how to set DataSpell to make cells scrollable? When I set the outcome table page size to ‘All’, the editor expands the table through the entire notebook, so I need to scroll very long to reach the end of the cell.
I found two scrolls, one on the cell level and one on the notebook level, very helpful.
Best regards
Szpenio
请先登录再写评论。
Hello,
You've hit upon a common usability issue with large output tables in notebook-style IDEs like DataSpell. While DataSpell doesn't have a direct, built-in setting to create a scrollable table within a cell's output in the way you might envision (like a fixed-height frame with an internal scroll), you can achieve a similar effect by leveraging some workarounds and understanding how DataSpell renders outputs.
Here's a breakdown of strategies and considerations:
Understanding the Challenge
DataSpell's Rendering: DataSpell, like Jupyter Notebooks, generally renders output as provided by the kernel (Python in most cases). When you set the table page size to "All," the kernel outputs the entire table, and DataSpell simply displays it.
Browser-Based Display: The actual rendering happens in a browser-like environment within DataSpell. The browser's default behavior is to expand the content to fit.
Best Regards
Thanks for your answer!
Actually, I've found a workaround for that. When the output cell size is manually adjusted before hitting ‘All’, DataSpell keeps the output cell size unchanged and adds a scroll bar to let you navigate throughout the full data set.