goToPageWithRow method

void goToPageWithRow(
  1. int rowIndex
)

Switches to the page where the given row is present. The row can be in the middle of the page, pages are aligned to page size. E.g. with page size 5 going to index 6 (rows #7) will set page starting index at 5 (#6)

Implementation

void goToPageWithRow(int rowIndex) {
  _assertIfNotAttached();
  _state?.pageTo(rowIndex);
}