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:
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.