Does css_classes affect DataTable?

When I create a div = Div(…) object and set its class div.css_classes = ['my_class], I can use that class to style in css.

But doing the same process for a DataTable seems to have no affect. I would like to be able to specify the class or id of a DataTable so I have access to it via CSS.