quantopian / qgrid

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

qgrid widget showing blank rows when dispayed within an Output widget #362

Open info-rchitect opened 3 years ago

info-rchitect commented 3 years ago

Environment

Description of Issue

When creating a qgrid widget within an Output widget, on a separate Tab widget, the table is created but all of the rows show no data. However, the data is in the table as the filters show it.

If I display the same qgrid widget on another tab, not in an Output widget, the table displays correctly.

image

The code is essentially:

        self.widgets['ui_container'] = ipyw.Output(layout={'border': '1px solid black', 'width': '99%', 'height': '100%'})
        with self.widgets['ui_container']:
            display(self.widgets['current_visual'])
        display(self.widgets['current_visual'])