Table Rows Collapse


Topic: Table Rows Collapse

stokkup2313 pro premium priority asked 2 years ago

Expected behavior When I click on a row in a datatable, the row should expand and essentially view the data in the collapsed section. or can accordion be used? Is this possible? Please advise.

Actual behavior i see MDB has collapse now can I use that in a table? https://mdbootstrap.com/docs/angular/components/collapse/ https://mdbootstrap.com/docs/angular/components/accordion/#section-introduction

Resources (screenshots, code snippets etc.) more general so not needed at this time


Arkadiusz Idzikowski staff answered 2 years ago

I'm afraid it is not possible. You would need to use an accordion component in such a case, but due to its HTML syntax, it is not possible to add it inside the datatable without breaking table styles.


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 4.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: Yes