Primefaces RemoteCommand 自动刷新数据表,设置为数据表的第一页

发布于 01-10 07:07 字数 302 浏览 4 评论 0原文

当我在 DatTable 的第一页以外的其他页面上并且使用 rowExpansion 中的按钮甚至行中使用的 commandLink 时,

<p:remoteCommand name="xyz" action="#{xBean.refreshXList()}" process="@this"/>

删除此代码时页面将自动设置为第一页,DataTable 页面不会更改为第一页,ingoreAutoUpdate="true" 没有帮助它。

When Im on other than frist page of DatTable and im using button from rowExpansion or even commandLink used in row, page is beeing set to first automatically

<p:remoteCommand name="xyz" action="#{xBean.refreshXList()}" process="@this"/>

when this code is deleted DataTable page is not changing to first, ingoreAutoUpdate="true" not helping with it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文