Not sure if this is feature request material or I’m missing something. Trying to create a TableColumn that displays the result of a CustomJSTransform.
Something like…
from bokeh.models import TableColumn, DataTable, ColumnDataSource,CustomJSTransform
from bokeh.transform import transform
from bokeh.plotting import show
src = ColumnDataSource(data={'x':[2,3,5]})
tr = CustomJSTransform(v_func=''' return xs.map(x=>x*2)''')
c1 = TableColumn(field='x',title='x')
# c2 = TableColumn(field=transform(field_name='x',transform=tr),title='x*2') #NOPE
tbl = DataTable(columns=[c1
# ,c2
],source=src)
show(tbl)