Here is my scenario:
- Drop down#1 have list of data frames to choose and user can choose only 1 dataframe
- Drop down#2 is dynamic and depending on the dataframe chose in dropdown#1, it’s columns get populated in this dropdown#2.
- Based on column/s selected in dropdown#2, I have some callbacks displaying graphs for the columns selected.
Now let’s say if the user chooses another dataframe without clearing the column/s selected in dropdown#2, I am getting error from the graph displaying callbacks as the predicting columns will not be there in the newly selected datafrane.
One if the solution is when user selected a dataframe from dropdown#1, I can write a callback to first clear the values in the dropdown#2 and another Callback to populate its columns. But how can I control the order of execution of these 2 call backs pointing to same output(values in dropdown#2).