Browse Source

Merge pull request #374 from mikepenz/patch-1

Update pagination.md
文翼 11 years ago
parent
commit
d17444b113
1 changed files with 12 additions and 1 deletions
  1. 12 1
      docs/_i18n/en/examples/pagination.md

+ 12 - 1
docs/_i18n/en/examples/pagination.md

@@ -6,4 +6,15 @@
 
 
 The default side pagination of table is `client`. _by [@wenzhixin](https://github.com/wenzhixin)_
 The default side pagination of table is `client`. _by [@wenzhixin](https://github.com/wenzhixin)_
 
 
-<iframe width="100%" height="400" src="http://jsfiddle.net/wenyi/e3nk137y/42/embedded/html,js,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
+<iframe width="100%" height="400" src="http://jsfiddle.net/wenyi/e3nk137y/42/embedded/html,js,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
+
+
+## Server Side
+
+Use sidePagination: 'server' option to define the server side pagination of table.
+
+<iframe width="100%" height="400" src="http://jsfiddle.net/4r6g4cfu/3/embedded/html,js,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
+
+Here's the server-side code.
+https://gist.github.com/mikepenz/06df1204cbb65b874cb5
+ It's a quick and dirty api, just to showcase the usage.