Changes between Version 19 and Version 20 of ServerSidePagination


Ignore:
Timestamp:
01/20/10 03:43:52 (15 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerSidePagination

    v19 v20  
    1818 * We'll also need to hand-off the Searching & Sorting!
    1919
    20 Client-side, we need to add these options to {{{views/dataTables.html}}}:
     20Client-side, we need to add these options to {{{views/dataTables.html}}} [make them Optional per-REST Controller?]:
    2121{{{
    2222    "bProcessing": true,
    2323    "bServerSide": true,
    2424    "sAjaxSource": "{{=URL(r=request, c='module', r='resource', vars={'...':'...'})}}"
     25}}}
     26
     27Server-side, we need to understand these vars:
     28{{{
     29# Pagination
     30iDisplayStart - maps to 'start'
     31iDisplayLength - maps to 'limit'
     32# Ordering
     33iSortCol_0
     34iSortingCols
     35iSortCol_x
     36iSortDir_x
     37# Filtering (Search) - across all fields!
     38sSearch
    2539}}}
    2640=== JSON Back-end implementation ===