DataTable - how to update style (specifically font family and size)


I’ve read the newly released documentation on DataTables but have not found any reference on how to change the font family or font size? Does anybody have an example or able to point me in the right direction?


You can change font family and size like this:

app = dash.Dash(__name__)

app.layout = dash_table.DataTable(
    columns=[{"name": i, "id": i} for i in df.columns],
    style_cell={'fontSize':20, 'font-family':'sans-serif'}

if __name__ == '__main__':


Thank you!! This worked perfectly!