1.8.2. Primeng Tree checkbox - quan1997ap/angular-app-note GitHub Wiki
<p-tree [value]="files3" selectionMode="checkbox" [(selection)]="selectedFiles2" [filter]="true">
Chú ý:
- Mỗi node phải gán key. Không trùng
- filterMode :
- lenient: Khi search, hiển thị node match với text search kèm theo cả các thằng con bên trong
- strict: Khi search, hiển thị node match với text search không kèm theo cả các thằng con bên trong