easyui showFooter
时间: 2023-09-28 11:07:07 浏览: 142
EasyUI的showFooter属性用于在表格底部显示汇总信息,要实现这种效果,需要设置showFooter为true。在EasyUI的datagrid中,showFooter属性可以放在表格的设置中。后台需要返回footer的数据,数据格式为{"footer":[{"xiadan":1000,"account":"合计","shouyi":510}]},其中"footer"是一个数组,每个{}代表一行汇总信息。如果有多行,就需要多个{}并通过逗号隔开。通过设置showFooter属性并返回相应的footer数据,就可以在EasyUI的datagrid中显示汇总信息。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [easyui之showFooter](https://blog.csdn.net/weixin_30455365/article/details/96336878)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Easyui datagrid showFooter 位置放到表格上面](https://blog.csdn.net/SuperCookies/article/details/108753449)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文