Primeng 不显示空消息行 [英] Primeng don't display empty Message-row
本文介绍了Primeng 不显示空消息行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用 Primeng 数据表当没有找到记录时,它显示一行带有消息,如何隐藏该行?
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>
推荐答案
您可以在以下 css 的帮助下禁用该功能
You can disable that with the help of following css
.ui-datatable-emptymessage{
display:none
}
这篇关于Primeng 不显示空消息行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文