My code :
html.Div(
dash_table.DataTable(
id='review_table',
columns=[{"name": i, "id": i} for i in ['Date', 'Client Username', 'Review']],
style_cell_conditional=[
{'if': {'column_id': 'Client Username'},
'width': '17%'},
{'if': {'column_id': 'Review'},
'textAlign': 'center',
},
],
style_cell={
'color': 'Black',
'textAlign': 'center',
'font_size': '16px',
'backgroundColor': '#bfbfbf',
'whiteSpace': 'normal',
}, style_header={
'font_size': '20px',
'maxWidth': '0',
'fontWeight': 'bold',
},
tooltip_data=[],
tooltip_duration=None,
sort_action='native',
data=[],
),
className="twelve columns Table1",
)