
Is this a bug? DataTable does not like a source with a data key of ‘field’, this causes no layout to be generated in the web view.
Is there a list of forbidden keywords in this type of scenario?
Thanks!
Dan
Bokeh 0.13.0
Mac OS 10.13.3
python 2.7.10
Safari 11.0.3
from bokeh.models import ColumnDataSource
from bokeh.models.widgets import TableColumn, DataTable
from bokeh.io import curdoc
from bokeh.layouts import column
source = ColumnDataSource(data=dict(x=[], y=[], field=[]))
columns = [TableColumn(field="x", title="X"),
TableColumn(field="y", title="Y"),
TableColumn(field="field", title="Field")]
table = DataTable(source=source, columns=columns)
curdoc().add_root(column(table))

