I'm trying to set the default value for primeNg
table column and it's not working, below is my code, appreciate your help on this.
I have tried to add filter and set default value with filterValue="#{this.defaultFilterValue}"
<p-dataTable id="empTable" [lazy]="false" [(value)]="CSETEmps" [editable]="true" editMode="row" [responsive]="true"
[resizableColumns]="false" [style]="{'margin-top':'5px'}" [tableStyle]="{'table-layout':'auto'}" [rows]="30"
[paginator]="true" [pageLinks]="3" [rowsPerPageOptions]="[30,60,90]" var="data" (onclick)="onTableClick($event)"
(onchange)="onTableChange($event)" #dt>
I expect the filter default value has to be set as 'Active' but it's not