-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
READ AND FOLLOW THESE INSTRUCTIONS CAREFULLY
This issue is being reported for bokeh version 0.12.6.
DataTable widgets do not include an option to hide column titles. It would be nice to have that option.
Coincidentally, the row_headers property is poorly named. It turns on/off the index column, but its name seems to suggest it would toggle column titles. Perhaps that option should be redefined.
Complete, minimal, self-contained example code that reproduces the issue
data = dict(
dates=[date(2014, 3, i+1) for i in range(10)],
downloads=[randint(0, 100) for i in range(10)],
)
source = ColumnDataSource(data)
columns = [
TableColumn(field="dates", title="Date", formatter=DateFormatter()),
TableColumn(field="downloads", title="Downloads"),
]
data_table = DataTable(source=source, columns=columns, row_headers=False, editable=True)
