中文字幕一区二区人妻电影,亚洲av无码一区二区乱子伦as ,亚洲精品无码永久在线观看,亚洲成aⅴ人片久青草影院按摩,亚洲黑人巨大videos

jEasyUI 創(chuàng)建頁腳摘要

在本教程中,我們將向您展示如何在數(shù)據(jù)網(wǎng)格(datagrid)頁腳顯示摘要信息行。

為了顯示頁腳行,您應(yīng)該設(shè)置 showFooter 屬性為 true,然后準(zhǔn)備定義在數(shù)據(jù)網(wǎng)格(datagrid)數(shù)據(jù)中的頁腳行。以下是示例數(shù)據(jù):

????{"total":1,"rows":[{"id":1,"name":"Chai","price":18.00}],"footer":[{"name":"Total","price":18.00}]}

創(chuàng)建數(shù)據(jù)網(wǎng)格(DataGrid)

????<table id="tt" title="DataGrid" class="easyui-datagrid" style="width:400px;height:250px"
????????????url="data/datagrid17_data.json"
????????????fitColumns="true" rownumbers="true" showFooter="true">
????????<thead>
????????????<tr>
????????????????<th field="name" width="80">Product Name</th>
????????????????<th field="price" width="40" align="right">Unit Price</th>
????????????</tr>
????????</thead>
????</table>

頁腳行和顯示數(shù)據(jù)行一樣,所以您可以在頁腳顯示不止一個摘要信息。