Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Set Initialization Page MDBDataTableV5

ferruzola free asked 2 years ago


Expected behavior I need your help setting an initialization page in an MDBDataTableV5, that is to say that the table is shown from the beginning on a specific page, for example: on the second page, I have searched for many options with jquery but it does not work for me, I would greatly appreciate it your help, this is my dataTable configuration code:

<MDBDataTableV5
                hover
                entriesOptions={[5, 20, 25]}
                entries={5}
                pagesAmount={4}
                data={datatable}
                pagingTop
                searchTop
                searchBottom={false}
                barReverse
                displayStart={2}
                        />

Actual behavior

Resources (screenshots, code snippets etc.)


Krzysztof Wilk staff commented 2 years ago

Hi!

I'm afraid there's no possibility of setting the initial page in the data table component. For now - you can select the pagination arrow and dispatch click on it via js after the page is loaded.



Please insert min. 20 characters.

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: MDB5 4.0.0
  • Device: react
  • Browser: chrome, firefox
  • OS: windows
  • Provided sample code: No
  • Provided link: No