issue with paging in gridpanal from json.

Hello,
I am trying to add paging in my grid view, I am able to show the grid with data from JSON in it and paging tool bar with fine page numbers, but as I run it all the content are populated on very first page instead of paging.