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: Datatables - results from server side (change in pagination)

yorkmyers priority asked 2 years ago


Hello,

I'm trying to use the MD Bootstrap Datatables and retrieve data server-side (ex. PHP) based on user interaction.

I found this: https://mdbootstrap.com/docs/standard/data/datatables/#section-async-data But that assumes that all data is generated only on page load.

I'd like to pass in custom URL parameters to determine the page, search criteria, column to sort on, and sort order.

I saw the tutorial to press a button and have it reload data in the table...

But how can I detect specific data table action (ex. "next page" or "sort on column 2 descending") so that I know what URL to generate?

Thank you


Grzegorz Bujański staff answered 2 years ago


This is not supported at the moment. In the future, we plan to add appropriate options, methods, and events to make this possible.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.11.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes