qgrid icon indicating copy to clipboard operation
qgrid copied to clipboard

Qgrid2 not show anything in jupyterlab 1.2.6

Open xysheep opened this issue 4 years ago • 10 comments

Environment

  • Operating System:Linux
  • Python Version: 3.7.6
  • How did you install Qgrid: conda
  • Python packages: jupyter_client 6.1.3 jupyter_core 4.6.3 jupyterlab 1.2.6 jupyterlab_server 1.1.5 qgrid 1.3.1

Description of Issue

The script below is supposed to show a table.

import qgrid
qgrid_widget = qgrid.show_grid(df_output, show_toolbar=True)
qgrid_widget

But I got nothing except simply print:

QgridWidget(grid_options={'fullWidthRows': True, 'syncColumnCellResize': True, 'forceFitColumns': True, 'defau…

I have checked with jupyter labextension list and got:

JupyterLab v1.2.6 Known labextensions: app dir: ~/miniconda3/share/jupyter/lab @jupyterlab/toc v2.0.0 enabled OK qgrid2 v1.1.3 enabled OK

Reproduction

I installed qgrid2 with the following commands:

conda install -c conda-forge qgrid
jupyter labextension install qgrid2

Jupyter lab is hosted on a remote Linux server and visited with Chrome Browser in Windows.

xysheep avatar Jul 08 '20 07:07 xysheep

I'm experiencing the same issue in jupyerlab 2.0.0

anakin87 avatar Aug 05 '20 08:08 anakin87

Same issue, jupyterlab 1.2.6

camilogutierrez avatar Aug 08 '20 03:08 camilogutierrez

Maybe conda package has not been updated with latest qgrid.

Can you try the pip-way?

ankostis avatar Aug 28 '20 08:08 ankostis

The same for me.

Berezhnyk avatar Sep 29 '20 10:09 Berezhnyk

Is this open source product supported any more? It looks like Quantopian no longer supports or updates the open source version.

richlysakowski avatar Oct 25 '20 17:10 richlysakowski

I had the same problem with jupyter-lab 2.0.0 and qgrid2 1.1.3. After I followed the installation-instruction also for jupyter-notebook(!) it somehow worked also for jupyter-lab.

stvogel avatar Nov 23 '20 10:11 stvogel

Hi @stvogel

Can you point me to what you did for jupyter-notebook? My qgrid tables don't get rendered when using Voila. Any suggestions, what is this with qgrid2?

Thanks, Sam

samiit avatar Mar 11 '21 10:03 samiit

Hi @samiit ... I don't know exactly what I did, despite my descriptions (exactly following the installation-instructions). But since then I've switched to dtale, which is really great.

stvogel avatar Mar 11 '21 12:03 stvogel

Danke Stefan @stvogel I am getting the qgrid table rendered in Voila for now (changing the index.js file as suggested elsewhere) but only using ipywidgets. Unfortunately, my attempts to render it using ipyvuetify are still not going that well, but may be I need to check more.

Thank you for introducing me to dtale. It looks good, and I will try it out soon. Sam

samiit avatar Mar 12 '21 13:03 samiit

There is an forked fix for qrid that supports jupyter3 - https://github.com/8080labs/ipyslickgrid

zxweed avatar Apr 22 '22 08:04 zxweed