Primeng Table带上舞者
我有带分页器的数据表。
当我的页面上没有数据时,我的数据表会折叠。 是否可以设置像[min-rows]这样的属性? 我查看了 primeng 文档,但没有任何结果。 我不想使用滚动。 您知道如何解决这个问题吗?
编辑: @Shai,这个设置使整个表出错。
当我为表格设置固定高度时,例如:
.p-datatable-tbody { height: 500px;它
看起来不错,但 td 调整了大小(图片)。
I have datatable with paginator.
<p-table [value]="data" [paginator]="true" [rows]="10">
When I have no data on the page my datatable is collapsed.
Is it any possibility to set property like [min-rows]?
I have looked in primeng documentation but any results.
I don't want to use scroll.
Have you any idea how to resolve this problem?
EDIT:
@Shai, this setting makes the whole table goes wrong.
When I set fixed height for my table, for example:
.p-datatable-tbody { height: 500px; }
it looks good but td resizes (picture).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论