Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabulator (with template): No scroll bar/pagination when theme is set to fast #4469

Closed
shelljp opened this issue Feb 23, 2023 · 1 comment
Closed
Labels
component: tabulator Related to the Tabulator widget type: bug Something isn't correct or isn't working

Comments

@shelljp
Copy link

shelljp commented Feb 23, 2023

ALL software version info

bokeh 2.4.3
panel 0.14.3
python 3.9.5

Description of expected behavior and the observed behavior

Using fast theme for tabulator removes both horizontal and vertical scroll bars with sizing_mode to any options
Impossible to scroll table data

Observed for all supported panel templates :

Complete, minimal, self-contained example code that reproduces the issue

import panel as pn
import pandas as pd

from bokeh.sampledata.airport_routes import airports
from bokeh.sampledata.penguins import data
temp = pn.template.FastListTemplate(title="Fast Template")
pn.widgets.Tabulator.theme = "fast"

random_df = pd.DataFrame({
    f'long_name_{i}': [i for i in range(100)] for i in range(25)
})

temp.main.append(
    pn.Row(
        pn.widgets.Tabulator(airports.head(200),  height=400, sizing_mode='stretch_both'),
        pn.widgets.Tabulator(random_df,  height=400, sizing_mode='stretch_both'),
        pn.widgets.Tabulator(data.head(500),   height=400, sizing_mode="stretch_width"),
        background="#f0f0f0",
    ),
)

temp.servable()

Stack traceback and/or browser JavaScript console output

no error

Screenshots or screencasts of the bug in action

with fast theme
fast_theme

with simple theme (i.e pn.widgets.Tabulator.theme = "simple" )

simple_theme

@maximlt maximlt added component: tabulator Related to the Tabulator widget type: bug Something isn't correct or isn't working labels Mar 3, 2023
@philippjfr
Copy link
Member

Appears to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tabulator Related to the Tabulator widget type: bug Something isn't correct or isn't working
Projects
None yet
Development

No branches or pull requests

3 participants