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


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

Ingvaldsen asked 6 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?


Jakub Strebeyko staff answered 6 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


dgracey0129 answered 3 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


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: 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