Change GridView pagesize via AJAX/Pjax

Is it possible to change the GridView page size via AJAX/Pjax?