
Bokeh 2.3.1, Google Chrome Version 89.0.4389.128
Hi, I noticed, that the Bokeh-DataTable is not quite as performant as the underlying implementation of slickgrid, especially when scrolling up and down furiously.
While this is not a surprise I’m still hoping for a way to make it feel smoother.
I’m not modifying the DT at any point, I just want to listen for (row-)selections in the bokeh server; any suggestions?
example:
from bokeh.io import show
from bokeh.models import TableColumn, DataTable, ColumnDataSource
headers = [str(i) for i in range(25)]
DATA_POINT_COUNT = 5000
columns = [TableColumn(field=h) for h in headers]
data = {c.field: [i for i in range(DATA_POINT_COUNT)] for c in columns}
d = DataTable(columns=columns, source=ColumnDataSource(data=data), width=800, height=800)
show(d)