How can the tree component in primeng, with a check box, make the check box selected by default?

< p-tree [value] = "filesTree" selectionMode= "checkbox" [(selection)] = "selectedFiles" > < / p-tree >

Oct.28,2021

I want to know, too. Landlord, have you found the answer?

Menu