Fixed pagination not working before data loaded
Removed unnecessary lines
Merge pull request #909 from bixuehujin/dataprovider

Fixed pagination not working before data loaded