源码来自Simple-Paging-Grid,把它改为了CMD模块的
-
Basic grid http://www.accidentalfish.com/simplePagingGrid/examples/basicGrid/index.html
-
Cell templating http://www.accidentalfish.com/simplePagingGrid/examples/hyperlinks/index.html
-
Sorting http://www.accidentalfish.com/simplePagingGrid/examples/sorting/index.html
-
Function Binding http://www.accidentalfish.com/simplePagingGrid/examples/functionBinding/index.html
-
Page Numbers http://www.accidentalfish.com/simplePagingGrid/examples/pageNumbers/index.html
-
Refreshing a data array http://www.accidentalfish.com/simplePagingGrid/examples/dataArrayRefresh/index.html
It is very easy to use this module.
<div class="zeus-bootstrap3-grid">
</div>seajs.use('bootstrap3-grid', function(bootstrap3Grid) {
});Here is some details.
v0.6.0 2014-2-10
- 提交的参数 page 改为 pageIndex
- currentPage 改为 data.listData , totalRows 改为 data.totalCount, 并添加rowIndex
- 去掉表格的空行