Hey,
I am creating multiple dash tables for a dashboard. I always have a first “General Table”, but depending on the inputs, I have a variable number of tables underneath it.
I define the first table in the layout and only update the data via a callback.
For the the following tables, I created a html.Div in the layout and acess the children property via a callback. I create the layout, the table and the data for each of the following tables in a callback, save each in a html.Div append them into a list and return the list.
This does work well, my only problem is, that the horizontal scroll is not working. It works perfectly on my first table, but on all the following it is not.
Here is my layout code for the first table which I create in the Layout:
I only update data.
Here is the code for the tables I create via the callback:
This is basically the final part of a for loop, before that I only create the data and fill the lists.
I do not understand why “style_table={‘overflowX’: ‘auto’},” is not working on these tables.
If anybody has had a similar issue or knows what I am doing wrong, please let me know.
Thanks and best regards
Max
1 post - 1 participant