You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of expected behavior and the observed behavior
When using DataTable's autosize_mode = "fit_viewport", the columns don't get updated when the data or headers change. In applications where the table begins empty and gets filled when the user selects options, this can result in the data looking squished.
That is unlike when using DataTable's autosize_mode = "fit_columns", which updates the column sizes dynamically and is quite nice.
When the sliders get adjusted such that data appears in the table, the column widths don't get updated.
If you change the DataTable to autosize_mode='fit_columns', the columns width do get updated.
Screenshots or screencasts of the bug in action
Squished columns:
The text was updated successfully, but these errors were encountered:
ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)
Bokeh 2.4.1
Python 3.9.6
MacOS Catalina 10.15.7
Chrome 94.0.4606.81
Description of expected behavior and the observed behavior
When using DataTable's
autosize_mode = "fit_viewport"
, the columns don't get updated when the data or headers change. In applications where the table begins empty and gets filled when the user selects options, this can result in the data looking squished.That is unlike when using DataTable's
autosize_mode = "fit_columns"
, which updates the column sizes dynamically and is quite nice.This issue is likely related to #11436.
Complete, minimal, self-contained example code that reproduces the issue
Take https://github.com/bokeh/bokeh/tree/branch-3.0/examples/app/export_csv and updated main.py to:
When the sliders get adjusted such that data appears in the table, the column widths don't get updated.
If you change the DataTable to
autosize_mode='fit_columns'
, the columns width do get updated.Screenshots or screencasts of the bug in action
Squished columns:
The text was updated successfully, but these errors were encountered: