Closed phennapa-saeliw closed 1 week ago
I tried changing the query from using {{Table1.pageOffset}}
to{{(Table1.pageNo - 1) * Table1.pageSize}}
and found that when I clicked the next page until the last page (the last page must have fewer data items in the table than the pageSize value), and then clicked the prev page, the data displayed correctly.
Is there an existing issue for this?
Description
The pageOffset value is working incorrectly if the last page of the table widget has a length less than the pageSize value.
Steps To Reproduce
Public Sample App
https://app.appsmith.com/app/server-side-pagination/page1-66d1dde63ec3612915d62a75
Environment
Production
Severity
Medium (Frustrating UX)
Issue video log
https://www.loom.com/share/2036895ffb8941b1954183f982261f0e?sid=121fc0ef-e4f7-456c-9478-65173d7a534b
Version
Cloud - 1.38.0