Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从页脚到正文中获取totalPages编号,以便我可以在 javascript 中使用它,如果有超过 1 页,则删除一些表格。任何想法 ?
你可以这样做:
"footerTemplate" => "<span class='totalPages'></span>"
这将显示页脚中所有页面的计数