Hello,
I have an requirement where I need to load records from server (paginated) based button clicks. So it's like Previous and Next buttons and when user clicks on Next we load older records and Previous returns newer records from server. Right now My list grid is paginated and it autofetch data from server based on startRow/endRow and totalRows returned by server. It with standard SM way where user pulls scroll and data is loaded. Now we also need to show buttons to achieve the same behaviour like scroll. Please advise how we can do that, obviously if previously data was loaded then clicking on Previous should not go to server and show data from cached data. If reached at the top of rows (startRow=0 and endRow=25) then I expected to make a server call to get new records if available.
Mahesh.
I have an requirement where I need to load records from server (paginated) based button clicks. So it's like Previous and Next buttons and when user clicks on Next we load older records and Previous returns newer records from server. Right now My list grid is paginated and it autofetch data from server based on startRow/endRow and totalRows returned by server. It with standard SM way where user pulls scroll and data is loaded. Now we also need to show buttons to achieve the same behaviour like scroll. Please advise how we can do that, obviously if previously data was loaded then clicking on Previous should not go to server and show data from cached data. If reached at the top of rows (startRow=0 and endRow=25) then I expected to make a server call to get new records if available.
Mahesh.
Comment