When loading data table from the database, I have included links along with the names of the Applications. However, I only want to display the Application name and open the corresponding link when clicked.
headers: [
{
text: 'Name',
left: true,
value: 'CustomerFullName',
},
{ text: 'Application Name', value: 'ApplicationName' },
{ text: 'Country', value: 'CustomerCountryCode' },
{ text: 'Email Adress', value: 'CustomerEmailAddress' },
{ text: 'Status', value: 'NewStatus'},
{ text: 'CB Status', value: 'CBStatusID' },
{ text: 'Trial ending', value: 'FormattedTrialEndsAt' },
{ text: 'Next billing at', value: 'FormattedCBNextBillingAt'},
{ text: 'User Limit', value: 'UserLimit' },
{ text: 'QuickBooks', value: 'QBEnabled' },
{ text: 'Wizard', value: 'NewWizardStatus'}
],
<td v-for="(header, index) in headers" :key="index"
:class="[ index === 0? 'text-xs-left': 'text-xs-center', 'body-2', 'ma-0', 'pa-0', 'pl-2']" v-if="header.value!==''">
{{renderData(props.item, header)}}
</td>