Ok thank you, it works now with a unique id for each node.
Latest posts made by jaimar
-
RE: Qtree with same label on parent and children
-
Qtree with same label on parent and children
Hi, I came across a problematic with QTree component.
When the label is the same in the parent and in the children only the parent is displayed.
Example:
nodes= [{label: test, children: [{label: test, children: []}]}]
then only test is displayed as tree without children -
RE: Datatable with q-pagination input
Actually using custom pagination solved the problem
-
Datatable with q-pagination input
Hi,
I’m trying to use the a custom pagination using QPagination component but it doesn’t work out of the box. How can I access the pagination buttons to call pagination functions.I tried this:
<div slot=“pagination” slot-scope=“props” :props=“props”>
<q-pagination input @change=“updatePagination(props)” v-model=“props.pagination.page” :max=“props.pagesNumber” />
</div>But without success. I tried to call props.setPagination but it’s not accessible.