does mdb datatable support expand a row? click +/- at begin


Topic: does mdb datatable support expand a row? click +/- at begin with a row, and then expand another div or table ?

ktakiya pro premium priority asked 3 years ago

Expected behavior

Actual behavior

Resources (screenshots, code snippets etc.)

Do you have an example for MDB-datatable with expanding a row demo?


Grzegorz Bujański staff commented 3 years ago

Unfortunately not. At the moment there is no such option in datatable. We have a plugin that allows you to collapse and expand rows: https://mdbootstrap.com/docs/standard/plugins/treetable/#docsTabsOverview but unfortunately, it is not a datatable


ktakiya pro premium priority commented 3 years ago

Thank you! another question, if I wanted to add some customized className in tr.ClassName or td.ClassName in body of table. How do I keep this className in my template engine syntax, if I used mdb.Datatable(), it seems lost these className. any advice?


Grzegorz Bujański staff commented 3 years ago

We have an added task for this to add this option. At the moment you need to use querySelector to find the appropriate element and add the class using js


FREE CONSULTATION

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

Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: MAC
  • Browser: FF
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No