I probably should make my first post more clear as my title is a little bit misleading.
- the table and plot both got updated data and started to update
- plot used existing table row selection value on new data, since the row selection value only get cleared after the table rendering finish.
I didn't find a way to ensure plot update after row selection value update, this happened after table render finish, and outputPriority cannot ensure this part.
I also didn't think there is a proper variable can reflect the status of row selection value update.
Previously I have used freezeReactiveValue to solve this kind of problem, but my first attempts didn't succeed. Today I realized I should freeze the row selection value before the DT datatable call. This will ensure the access from plot be hold off until all other reactive value update finish, thus solve the problem.