plotly / dash-table-experiments

NO LONGER SUPPORTED - use https://github.com/plotly/dash-table instead
MIT License
174 stars 57 forks source link

How to change the column width on dt.EditableTable #76

Open wgor opened 6 years ago

wgor commented 6 years ago

Hi,

I've tried that, but didn't work out:

html.Div(id="main-container",children=[      html.Div(id="datatable-output",style={"overflow": "auto", "height":"400px"},children=[               dt.EditableTable(                                 base_styles="th",                                 merged_styles = {"column_width":"25px"},                                 id='editable-table',                                 editable=True,                                 dataframe = parameter_inits.to_dict(),                                       ),                             ]),                       ]),

Thanks in advance.