7. Paginated Controls
* Enabling AJAX on the QDataGrid
<< * QDataGrid Pagination   |   Back to Main   |   * Simple QDataRepeater using AJAX-triggered Pagination >>

View Source
will open in a new window
Enabling AJAX-based Sorting and Pagination
In this example, we modify our sortable and paginated QDataGrid to now perform AJAX-based sorting and pagination.

We literally just add one line of code to enable AJAX.

By setting UseAjax to true, the sorting and pagiantion features will now execute via AJAX. Try it out, and notice how paging and resorting doesn't involve the browser to do a full page refresh.
Previous|1|Next Results: Viewing items 1-19 of 19.
Person ID First Name Last Name Sorted
16 asd asd
9 Linda Brady
19 df df
1 Teo Dirac
4 Mike Ho
2 Kendalll Jenner
6 Wendy jose
18 kalle kula
12 Jacob Pratt
8 Samantha prueba
3 Ben Robinson
17 sdfsdf sdfsdfsdf
5 Alejnadro Smith
10 Jennifer Smith
11 Brett Smiths
13 wdt t
14 w w
7 Karen Wolfe
15 w wwwgggggggg