-1

I use with Primeng datatable when No records found it display a row with message, how can I hide this row?

<p-dataTable>
              <p-column [style]="{'width': '500px'}" header="Artifacts">
                  <ng-template pTemplate="filter" let-col>
                      <textarea rows="3" cols="30" style="width: 100%" pInputTextarea [(ngModel)]="parametersForAll['Artifacts']"
                      placeholder="Artifacts ..."></textarea>
                  </ng-template>
                </p-column> 
    </p-dataTable>
sari k
  • 2,051
  • 6
  • 28
  • 34

1 Answers1

0

You can disable that with the help of following css

.ui-datatable-emptymessage{
display:none
}
Sajeetharan
  • 216,225
  • 63
  • 350
  • 396