Implemented getPageData method in dataSource