Help with dynamically created components

Thank you @AIMPED . The solution worked.
If possible, do you happen to know how do I get specific DataTable data in callback function (I have multiple tables) ? The challenge I think is the id value is dynamically generated so I cannot specify it in the State in @callback
Thanks Again.

How is the ID generated?

The table is generated after the file upload is done. Like this -

                columns=[{'name': i, 'id': i} for i in df.columns],
                    'width': '80%'
                    'textAlign': 'center'

Why do you need dynamic ID’s for your app? Maybe you should take a look at pattern matching callbacks:

1 Like

Okay Thank you. Let me check. For now I have stored the filenames and data globally and handling it. When I go for login session , I might have to handle it differently.

How can I access specific DataTable data in a callback function when I have multiple tables with dynamically generated id values? The challenge lies in not being able to specify the id in the State for @callback.

I was able to handle it with a global python variable and append the tables to that list variable, and then fetch it in the display area.