Changes between Version 19 and Version 20 of ServerSidePagination
- Timestamp:
- 01/20/10 03:43:52 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerSidePagination
v19 v20 18 18 * We'll also need to hand-off the Searching & Sorting! 19 19 20 Client-side, we need to add these options to {{{views/dataTables.html}}} :20 Client-side, we need to add these options to {{{views/dataTables.html}}} [make them Optional per-REST Controller?]: 21 21 {{{ 22 22 "bProcessing": true, 23 23 "bServerSide": true, 24 24 "sAjaxSource": "{{=URL(r=request, c='module', r='resource', vars={'...':'...'})}}" 25 }}} 26 27 Server-side, we need to understand these vars: 28 {{{ 29 # Pagination 30 iDisplayStart - maps to 'start' 31 iDisplayLength - maps to 'limit' 32 # Ordering 33 iSortCol_0 34 iSortingCols 35 iSortCol_x 36 iSortDir_x 37 # Filtering (Search) - across all fields! 38 sSearch 25 39 }}} 26 40 === JSON Back-end implementation ===