Closed auriz24 closed 1 month ago
I'd like to post a few more examples showcasing the issue and comparing it to the old Qgrid package.
Qgrid
Environment: Jupyter Notebook 6.5.7, ipywidgets 7.8.5, qgrid 1.3.1
The last row is fully visible when using the old Qgrid package:
The grid canvas and the horizontal slider are stacked properly:
QgridNext
Environment: Jupyter Notebook 7.2.2, ipywidgets 8.1.5, qgridnext 2.0.1
The last row is partially visible when using the new QgridNext package:
The grid canvas and horizontal slider are not stacked. Instead, the slider is layered on top of the grid canvas:
Note: The environments are not identical because Qgrid 1.3.1 doesn't work with ipywidgets 8 and notebook 7.
I'm investigating this issue. With notebook 7, qgridnext displays properly in macOS browsers (Safari & Chrome), but I was able to reproduce the problem in Windows browsers (Edge & Chrome). This should be related to the notebook version, as qgridnext also displays properly with notebook 6.
I tracked down the issue to inconsistent scrollbar dimension measurements in newer Jupyter environments. The next release will fix this issue.
Environment
Operating System: Debian GNU/Linux 12 (bookworm)
Python Version: Python 3.11.9
Python packages:
Jupyter lab packages (if applicable):
Description of Issue
The last row is partially cut off when using customized
grid_options
such as disabling column autofit,{'forceFitColumns': False}
.Examples:
A large dataset (100 rows, 30 columns)
A smaller dataset (100 rows, 3 columns)
Reproduction Steps
qgrid.show_grid(..., grid_option={'forceFitColumns': False})
.What steps have you taken to resolve this already?
Not applicable.
Anything else?
Not applicable.