Q:

How do I add custom css to a DataTable with a bokeh server application?

I would like to be able to add a CSS class to a Bokeh DataTable in a Bokeh server application and write the CSS externally. How can I do this?
From what I've read I though I would be able to add css_classes like the following.
data_table = DataTable(source=in_src, fit_columns=True, columns=columns, width=820, height=300, index_position=None, editable=False, selectable=True, css_classes=["hidden_table"])

Then in an external file using CSS do something like this.
.hidden_table {
  visibility: hidden;
}

I was expecting to see the DataTable hidden in the output but it is still showing.

A:

Hopefully this will help someone else. This issue was caused by a bug in version 1.0.2. I upgraded to 1.2.0 and the code ran as expected. When you upgrade, make sure to upgrade your JavaScript files as well or you'll have a version mismatch issue.

