Clipboard in Tabulator does not work

Hi,

I can’t get this to work, code from Tabulator — Panel v0.14.1 (holoviz.org)

import datetime as dt
import pandas as pd
import panel as pn

df = pd.DataFrame({
    'int': [1, 2, 3],
    'float': [3.14, 6.28, 9.42],
    'str': ['A', 'B', 'C'],
    'bool': [True, False, True],
    'date': [dt.date(2019, 1, 1), dt.date(2020, 1, 1), dt.date(2020, 1, 10)]
}, index=[1, 2, 3])

pn.widgets.Tabulator(df, configuration={
    'clipboard': True,
    'rowHeight': 50,
    'columnDefaults': {
        'headerSort': False,
    },
}).servable()

panel -v
0.13.1

Should maybe file a bug on github instead?

Missing this line:
pn.extension(‘tabulator’, css_files=[pn.io.resources.CSS_URLS[‘font-awesome’]])

So no bug, just my own fault!

1 Like