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.