I’ve been trying to put two tables side by side but my code keeps stacking them. What is missing in the python code.
Thanks
html.Div(children=[
html.Div(dash_table.DataTable(id = 'main-table2',
columns = [{"name": i, "id": i} for i in df3.columns],
data = df3.to_dict('records'),
fixed_columns={'headers':True,'data':1},
fixed_rows={'headers':True},
style_table={'height':400,'width':'10%','display':'inline-block'},
)),
html.Div(dash_table.DataTable(id = 'main-table3',
columns = [{"name": i, "id": i} for i in df3.columns],
data = df3.to_dict('records'),
fixed_columns={'headers':True,'data':1},
fixed_rows={'headers':True},
style_table={'height':400,'width':'10%','display':'inline-block'},
)),
], className='row'),