Answer the question
In order to leave comments, you need to log in
How to display information from a JSON query in Vuetify data tables so that when you click on a table row, display its detailed information?
There are two REST-a, one with a general list, the second with detailed information on this list.
In the project, I configured the output of a list of information using a get-request.
I made a component for the output of detailed information. The question remains how to connect these two components so that when you click on the row of the table value, a form with detailed information opens? In particular, this is how to bind id. I can’t formulate more precisely. this is my first project. Please tell me how these communications are implemented. push.
In the script block:
mounted() {
axios
.get(' localhost:3000/listclients ')
.then(response => {
this.sessions = response.data.List.Items
})
}
Answer the question
In order to leave comments, you need to log in
Studio code.
Everything you say, I do through response.body.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question