Pagination and filtering in DGrid

Hi there,

I’m new here and I hope, someone can help me with the following topic:

Our questions are about this Pagination Extension: https://github.com/SitePen/dgrid/blob/v1.2.1/doc/components/extensions/Pagination.md
When this extension is used with a Dojo DGrid, how do the filtering and sorting functions work?
Do they work on the entire dataset or only on the currently shown page?

Thanks for your help.
Markus