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
3 Ben 5665564
1 kavita 2 arulyfred
9 Linda Brady
11 Brett Carlisle j
4 Mike Ho
14 sdhgfhsdg jai
17 good job
16 Nice Job
8 Samantha Jones
12 Jacob Pratt
2 Kendall2 Publics
13 sdf sdf
6 Wendy Smith
5 Alex Smith
10 Jennifer Smithfgfg
27 test test
22 moi tpo77
15 billy wilder
7 Karen Wolfe