Primefaces 固定高度数据表,具有延迟加载数据的功能
我使用了 primefaces 2 的数据表,但我注意到当我将可滚动属性设置为 true 时 并且加载设置为延迟加载,Firefox 和 Chrome 中的表格布局渲染效果不佳。
我想在桌子上设置固定高度并仍然启用数据的延迟加载。
<p:dataTable var="trike" value="#{myBean.carModel}" rows="10"
paginator="true" lazy="true" paginatorPosition="bottom" scrollable="true" height="150">
这不可能吗?
I used datatable of primefaces 2 but I notice that when I set the scrollable property to true
and the loading is set to lazy, the table layout in both Firefox and Chrome is not rendering fine.
I wanted to set a fixed height on the table and still enable lazy loading of data.
<p:dataTable var="trike" value="#{myBean.carModel}" rows="10"
paginator="true" lazy="true" paginatorPosition="bottom" scrollable="true" height="150">
Is this not possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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