Qtree click label to set/reset the checkbox
I want to click on the label highlighted in yellow to select the corresponding checkbox for leaf elements. Is that possible to achieve? If yes, any suggestions please.
This is my Qtree definition
dobbel last edited by
a bit of a hack but you could enable
selectedin your q-tree ( like in the example below) and then listen to @update:selected events to update the
@dobbel Thanks… I can try that. The challenge could be to distinguish between group header click vs leaf click.
On group click I only want to expand/contract the group.
On leaf click I want to set the checkbox