Is someone knows how to tell primevue a different children property name.
My children not called children.
it's called marks.
myObject: {
name: "test",
marks: []
}
https://primefaces.org/primevue/showcase/#/tree
This is what i need to tell prime vue tree
Code: Select all
data() {
return {
props: {
label: 'name',
children: 'marks'
},
Code: Select all
<Tree :props="props" />