Filtering/Sorting of Grid data with client side pagination.

I have implemented client side pagination as per the pagination demo. This issue I have is that the column sorting/filtering only appears to work on the displayed page, rather than the whole data set. Is this possible to fix or do I need to change to full server side page/filter/sort?