pass pagination data to server