R
R
Ruslan Dzh2019-01-21 07:24:57
JSON
Ruslan Dzh, 2019-01-21 07:24:57

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

1 answer(s)
K
Konstantin Malyarov, 2019-01-21
@Konstantin18ko

Studio code.
Everything you say, I do through response.body.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question