Closed aboardamit closed 8 years ago
I have managed to resolve the issue.
'pagination':
{
'count': response.data['size'],
'page' : response.data['number'],
'pages': response.data['totalPages'],
'size' : response.data['totalElements']
},
'sortBy': response.data.sort['property'],
'sortOrder': response.data.sort['direction']
:+1:
Hi, as per Server side Table complete example, the expected pagination object array is:
However, my rest service returns pagination array in different format and I have no control to override the same.
How can I implement the pagination in this scenario? Is there a way to customise the pagination parameters?