zhihanyue / qgridnext

Advancing QGrid, an interactive grid for exploring DataFrames in JupyterLab/Notebook
https://qgridnext.readthedocs.io
Apache License 2.0
19 stars 1 forks source link

Full screen mode #6

Open auriz24 opened 3 months ago

auriz24 commented 3 months ago

Hi,

Thanks for bringing Qgrid back to life.

I'd like to ask if it's possible to re-add the full-screen mode as it was a very helpful feature when reviewing datasets that don't fit in the standard view.

Thanks.

zhihanyue commented 3 months ago

This feature was removed due to compatibility issues. Alternatively, you can create a new view to get a larger display area:

WX20240523-015237@2x

auriz24 commented 2 months ago

Thanks for your reply.

I think the "new view for cell output" feature only exists in Jupyter Lab as I cannot find in Jupyter Notebook v7. Or it's not available in an output cell that contains more content than just the qgrid table.

It would be really appreciated if the full-screen mode was added back. It was a very useful feature for reviewing larger datasets, in terms of both the number of columns and rows. Of course, it should be done in a way that works for all 3 tools: Jupyter Lab, Notebook, and Voíla. :)

Unfortunately, I'm not familiar with Jupyter extensions or front-end development, e.g. Javascript. Otherwise, I'd like to help you with it.

I have only seen that base/js/dialog is not available for Jupyter Notebook v7 anymore. Instead, there seems to be a new API for showing dialogs via @jupyterlab/apputils.

auriz24 commented 3 weeks ago

A quick update:

I can confirm that the "Create New View for Output Cell" is not available in Jupyter Notebook v7; see the attached screenshot below. The screenshot also illustrates what I meant by a large dataset, which doesn't fit nicely in the default widget size; especially in Jupyter Notebook.

image A large dataset (100 rows, 30 columns) with column autofit enabled.