How to add links to each table entry using PrimeVue's DataTable component?

UI Components for Vue
Post Reply
Shannonmaus
Posts: 8
Joined: 06 Mar 2023, 11:35

09 Mar 2023, 12:41

The PrimeVue library does not support this by default. The Table currently looks like this.
products: [
{brand: "Volkswagen", year: 2012, color: "Orange", vin: "dsad231ff", url: "linkToSite"},
{brand: "Audi", year: 2011, color: "Black", vin: "gwregre345", url: "linkToSite"},
{brand: "Renault", year: 2005, color: "Gray", "vin": "h354htr", url: "linkToSite"},
]
Please help me to fix this. Thanks in advance! My Sutter Online Login
Last edited by Shannonmaus on 10 Mar 2023, 05:51, edited 1 time in total.

bahadirsofuoglu
Posts: 84
Joined: 06 Sep 2022, 08:59

09 Mar 2023, 12:49

Hi, If you create an example with CodeSandbox I can be of more help.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests