This sample shows how to export FlexGrid to PDF while using paging.
https://stackblitz.com/edit/js-ydsir4