In my dash app, there is a data-table with data coming from different endpoints using rest API ( Endpoints are selected from a drop-down list) So whenever user selects a new endpoint, data gets stored in browser session using dcc.store() from a callback as below
My data-table is editable (with drop-down options) and I have a save button below the data table from where I want to save the modified data into the session store. But I cannot figure out a way how this second call_back will store/ replace data in same dcc.store as Dash do not allow duplicate callback Output
My apologies, I did not mention my problem statement correctly, so I have 5 different tabs. On clicking on a specific tab, it parses data from a json file (which comes from the rest API I mentioned earlier) onto the data-table specific to that tab.
On each tab I can add new rows, delete or edit.
So under each tab I have a save button, once user clicks on save, the data should be stored in a dcc.store.
So that’s why I need to use same dcc.store.
Is there any other way to achieve this ? or may be use dcc.store without a callback ? Thanks