Dash version upgrade broke my code!

I installed dash-bootstrap-components and it uninstalled dash packages and installed them again with newer versions. And that broke my code which was working fine.

Exactly, it broke the dash_table_experiments ! Since, I’m working on a multi page dash app, and after going through some threads in the community here, it seems like everyone is talking about adding hidden dash-table-experiments component in the layout like:
html.Div(dt.DataTable(rows=[{}]), style={‘display’: ‘none’})

I tried it, and it didn’t fix my problem(I have two dash_table_experiments, one in the first tab(tab-1) and another table in the second tab(tab-2)). I’m adding screenshots and some code to illustrate the issue.


################
#some imports here
################

app.layout = html.Div([
   

    dcc.Tabs(id="tabs-styled-with-inline", value='tab-1', children=[

        dcc.Tab(label='Data', value='tab-1', style=tab_style, selected_style=tab_selected_style, children=
            tab1content.app.layout
        ),
        dcc.Tab(label='visualize', value='tab-2', style=tab_style, selected_style=tab_selected_style , children=
            tab2content.app.layout),
        dcc.Tab(label='Clustering', value='tab-3', style=tab_style, selected_style=tab_selected_style, children=
            tab3Content.app.layout),
        dcc.Tab(label='Reports', value='tab-4', style=tab_style, selected_style=tab_selected_style, children=tab4content.app.layout),
    ], style=tabs_styles),
    html.Div(id='tabs-content-inline'),

#I tried adding it here and at the begging of the app.layout but they both didn't work

    html.Div(dt.DataTable(rows=[{}]), style={‘display’: ‘none’})
      


    
])

########
#Callbacks
########

error

By the way, the new dev_tools_ui is awesome, but it’s a shame that the first time it popout it brought a bunch of errors to my code.

One more thing everything worked fine before the upgrade happened ^^

I’ve had similar issues and switching to dash_table solved everything. As far as I know, dash_table_experiments is not supported anymore.

3 Likes

I don’t know if it’s just me or the dash_table_experiments looks better and have more functionality than the dash_table (I think it’s more flexible and has more properties) I find it hard to get it to do what I want. Anyway, thanks for your reply, I’ll change it back to dash_table and see what happens ^^

dash_table_experiments is no longer being developed, whereas dash_table is under active development, so if dash_table can’t do what you want it do to currently, hopefully those features will be added in the near future.

1 Like

I replaced the dash_table_experiments with dash_table and everything worked fine ) Thank you !

I noticed that dash_table is under development, but the problem is that I’m using dash for a project and it’s due next week, so the near future is out of my scope for now.

But, I’m looking forward to do more project using dash and see the upcoming new features :slight_smile: Thank you for clearing that up.