How to create print method in primeNg table
问题 In my angular project, I used a table of PrimeNg and I want to print all data and selected data of this table I don't know how I do it so if there any way or method to handle it? my template <div class="mainTbl"> <p-table #filterT [columns]="cols" [value]="clients" [scrollable]="true" [paginator]="false" [rows]="2" scrollHeight="200px" [resizableColumns]="false"> <ng-template pTemplate="colgroup" let-columns> <colgroup> <col *ngFor="let col of columns" > </colgroup> </ng-template> <ng