Hi,
I have two drop downs (A and B).
A updates a Graph and B decides if you want a sub-group, and also updates the graph after selection.
I have also implemented a datatable where the user can select a row that updates the two dropdowns with the row data. By updating the dropdowns they automatically updates the graph.
The problem i now have is that if a value is selected in B and a row is selected in the datatable which does not contain the already selected sub group value in B I get an error.
The callback first update A that tries to update the graph but if B is not included in the set i get an error,
Now it updates in this order:
Row Selection --> Dropdown A (+ old B value) --> Graph --> Error --> Dropdown B
But i need it to update the two dropdowns before the dropdowns update the graph:
Row selection --> A --> B --> Graph
Is this possible to add a condition that the datatable callback is prioritized and other callbacks will only update after completion?