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

173
Views
How to do Server Side Pagination/Sort/Search using MDBDataTable in React JS

I'm using MDBDataTable in React JS. I want to do Server Side Pagination/Sort etc. But I didn't find any way of doing it.

Below is my sample code which I am using.

<MDBDataTable
      striped
      bordered
      hover
      entriesOptions={[10, 20, 50]}
      entries={10}
      pagesAmount={prop.data.totalPages}
      data={prop.data}
      paging={true}
      onSearch={(value) => console.log(value)}
      onPageChange={(e) => console.log(e)}
      onSort={(value) => console.log(value)}
    />

In the above code, {prop.data} has 10 records, and MDBDataTable shows 10 records with 1 page only but we have a total of 102 records, I didn't find a way to tell MDBDataTable about the total no. of records that can help us to show other pages to navigate.

Can someone please help me with how we can do server-side integration in MDBDataTable?

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!