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
Similar to issue #5085, styling in Tabulator does not properly render when run in a server in Panel version 1.1.0. The styling does, however, work properly when embedded in a Jupyter notebook.
Minimal code:
import panel as pn
import pandas as pd
df = pd.DataFrame({
'a': [-1,0,1]
})
select = pn.widgets.Select(options = [None, -1, 0, 1])
table = pn.widgets.Tabulator(df)
table.add_filter(select, 'a')
table.style.applymap(lambda x: 'background-color: red' if x >= 0 else '')
pn.Column(select, table).servable()
After running a server on the aforementioned code, filtering by -1, then clearing the filter, we see that the positive table elements lose their styling.
The text was updated successfully, but these errors were encountered:
Version: 1.1.0
Similar to issue #5085, styling in Tabulator does not properly render when run in a server in Panel version 1.1.0. The styling does, however, work properly when embedded in a Jupyter notebook.
Minimal code:
After running a server on the aforementioned code, filtering by -1, then clearing the filter, we see that the positive table elements lose their styling.
The text was updated successfully, but these errors were encountered: