quantopian / qgrid

An interactive grid for sorting, filtering, and editing DataFrames in Jupyter notebooks
Apache License 2.0
3.04k stars 421 forks source link

Qgrid2 not show anything in jupyterlab 1.2.6 #333

Open xysheep opened 4 years ago

xysheep commented 4 years ago

Environment

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.

anakin87 commented 4 years ago

I'm experiencing the same issue in jupyerlab 2.0.0

camilogutierrez commented 4 years ago

Same issue, jupyterlab 1.2.6

ankostis commented 4 years ago

Maybe conda package has not been updated with latest qgrid.

Can you try the pip-way?

Berezhnyk commented 4 years ago

The same for me.

richlysakowski commented 4 years ago

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

stvogel commented 3 years ago

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.

samiit commented 3 years ago

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

stvogel commented 3 years ago

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.

samiit commented 3 years ago

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

zxweed commented 2 years ago

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