Topic: More than one datatable in the same page?

DashMarketingGroup priority asked 1 week ago


I am using an mdbdatatable in a web page to display a list of orders for a customer. When the user chooses one of the orders in the database, it opens a new full-screen modal that should display the list of items contained in the order. The problem is, adding the datatable that goes in the modal seems to break the first table (it doesn't display properly). Is it possible to have two datatables (being loaded asynchronously) in the same webpage?


Kamila Pieńkowska staff answered 1 week ago


It is definitely possible. But if you add components asynchronously most of them needs to be initiated with JS (as autoinit happens an the pageload). In API tab of every component you can see code needed for JS init. If you have trouble with initiation please prepare a snippet with your code and I will help.



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 7.3.2
  • Device: laptop
  • Browser: chrome
  • OS: win11
  • Provided sample code: No
  • Provided link: No