Hi Sangam,
It is handled by pagination widget itself. It provide NewStartIndex based on pagination StartIndex, MaxRecords and TotalCount properties.
For example - You have total 50 records in your entity and you want to display 10 records per page. In this case for first page -
StartIndex = 0
MaxRecords = 10
TotalCount = 50
If you click on next page(2) then It will give NewStartIndex = 10(based on page number and max records) and StartIndex and MaxRecords properties are also used on aggregates, so it fetched the next 10 records.


Thanks
Vinod