Pagination

Hello I have two tabs that is "Inbox" and "Archive" and have pagination in both of them in a single page.I tried to pass the extra parameter but for me it is not working .How to make the pagination work for both the "Inbox" and the "Archive" tab simultenously.

http://www.yiiframework.com/doc-2.0/yii-data-pagination.html#$pageParam-detail ?