I got a method that pulls the data from the database. The method has a parameter that it accepts and is important because depending on that it pulls different data from the database. Now I need a way to pull the data in a treeview form and I found that vuetify has it, but I don’t really get how to do that. Its examples show how to use it with already predefined data, but I have a dynamic one.
This is the method. So far I had to use v-list-group and loop through the results but is not as nice looking as the treeview. Also, there is a problem to expand it. If, for example, I got more subgroups. With v-treeview it seems to be all aligned nicely.
It is using graphql for pulling data. I want that data to be pulled in for of a treeview. How can I do that?
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop