I have a problem with the PrimeNG library for Angular.
I am using p-treeTable + p-treeTableCheckbox to load checkbox corresponding with each item from the mock data json looks like this: enter image description here
Now I want when I check to checkbox, another checkbox auto-checked, For example when I check checkbox app 3, checkbox app 1 will be checked automatically.
I did it work in p-tree but it doesn't work in p-treeTable. I think it has already been selected but it does not show the checkbox. This is my stackblitz: https://stackblitz.com/edit/primeng-treetableselection-demo-9jfj9b?file=src%2Fapp%2Fapp.component.ts
Please help me, thanks a lot.
Aucun commentaire:
Enregistrer un commentaire