Valid XHTML 1.1
7. Paginated Controls << * QDataGrid Pagination   |   Back to Main   |   * Simple QDataRepeater using AJAX-triggered Pagination >>
* Enabling AJAX on the QDataGrid View Source (Pop Up)
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-13 of 13.
Person ID First Name Last Name Sorted
9 Linda Brady
11 Brett Carlisle
1 Johndfg Doe
13 eee ee
4 Mike Ho
8 Samantha Jones
12 Jacob Pratt
2 Kendall Public
3 Ben Robinson
5 Alex Smith
6 Wendy Smith
10 Jennifer Smith
7 Karen Wolfe