Topic: Pagination jumps back to first page upon edit
                  
                  Altangerel Du
                  free
                  asked 5 years ago
                
Expected behavior*Example, I'm in the 5th page, and when I open my "edit modal" from the Datatable, the pagination should stay on the 5th page.*Actual behavior*When I open my "edit modal" button from the Datatable row, then pagination jumping back to first page*Resources (screenshots, code snippets etc.)
<MDBDataTable
data-testid='datatable'
small
responsive
hover
noBottomColumns 
data={props.data}
paginationLabel={['Өмнөх', 'Дараах']}
info={false} 
entriesLabel='Нийт харуулах'
style={{fontFamily: 'Arial, Helvetica, sans-serif'}} />
Please, help to fix.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Opened
Specification of the issue
              - ForumUser: Free
 - Premium support: No
 - Technology: MDB React
 - MDB Version: 4.27.0
 - Device: PC
 - Browser: Chrome
 - OS: Windows
 - Provided sample code: No
 - Provided link: No
 
Piotr Glejzer staff commented 5 years ago
Are you using your own data or jus dummy data?
Altangerel Du free commented 5 years ago
Hi, I use my own data
Piotr Glejzer staff commented 5 years ago
Do you have more code to show, function/methods, or something? Or are you just putting a basic example?