Topic: How to put a link or a button in a column in a datatable?

Ingvaldsen free asked 5 years ago


I want to make my list items clickable. Is it any way that I could have a link or a button in column of a datatable?


dgracey0129 free answered 2 years ago


Got it working by modifying this table: https://mdbootstrap.com/docs/standard/data/datatables/#:~:text=EDIT%20IN%20SANDBOX-,Action%20buttons,-With%20the%20Datatable

There are still a couple of setActions that i cannot delete without the table disappearing, but it works for my prototype, and the links are dynamic.

https://mdbootstrap.com/snippets/standard/dgracey0129/3619632


Jakub Strebeyko staff answered 5 years ago


Hi there guys,

Currently DataTable serves to display data objects only. It is a valid feature request though, so I am adding it to the roadmap for some of the upcoming minor releases.

Best, Kuba


FREE CONSULTATION

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

Status

Closed

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 4.8.2
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No