0👍
You can do that by throwing an event from the child component i.e
the table to the parent component that is the dashboard.
Then the dashboard will register that event and make an API call and change the props passed to all the components like graph etc.
You can learn more about events from child component to parent component over here:- https://v2.vuejs.org/v2/guide/components-custom-events.html
- [Vuejs]-Apollo client query with params – Vue
- [Vuejs]-Trying to query firebase using where array-contains, how to wait for data to be received?
0👍
No need to use routes or any other method in my opinion. You can use table on cell click method (which will have the cell params) and call your api’s inside the method. It won’t be an issue. Do revert back in case of problems
- [Vuejs]-Using Vue in Laravel Spark – "method not defined on the instance" using vue2-touch-events – what could I do differently?
- [Vuejs]-Why do I get this error if I return value using questionmark operator in Vue.js
Source:stackexchange.com