Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

234
Views
Wrong row count in materialUI table

I am using materialuI in react js to display data. In image one you can see the number of array/objects is 15 (total users is 15). When I navigate to last page , that means clicking 2 times in change page , the total number of data is shown as 21. but theres only 15 data. (PLEASE refer image 2)second image shows 21 (number) is wrong. theres only 15 rows image of first page of data table

<TablePagination
  component="div"
  className="material-table__pagination"
  count={(list.number) || 0}
  rowsPerPage={rowsPerPage}
  page={page}
  backIconButtonProps={{ 'aria-label': 'Previous Page' }}
  nextIconButtonProps={{ 'aria-label': 'Next Page' }}
  onChangePage={handleChangePage}
  onChangeRowsPerPage={handleChangeRowsPerPage}
  rowsPerPageOptions={[5, 10, 15]}
  dir="ltr"
  SelectProps={{
    inputProps: { 'aria-label': 'rows per page' },
    native: true
  }}
/>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!