I'm using Tree with checkboxes, and I want to add a button to check all checkboxes, I tried different methods but no good, the best thing i was able to achieve is this:
selectAllFiscal() {
this.rootItems.forEach(node => {
this.todoItemSelectionToggle(node);
});
}
rootItems is an array of root nodes.
I can see that nodes are selected when I iterate checklistSelection.selected
, but the checkboxes are not selected in the browser, can anybody point the problem, thanks.
Aucun commentaire:
Enregistrer un commentaire