I'd like to have my datatable links open in a new sub tab when my users are using console navigation, but somehow they always open in a new tab.
Here's the column definition for the link field:
{ label: 'Name', fieldName: 'Link', type: 'url',
typeAttributes: {label: { fieldName: 'Name'}, target: '_blank'}},
I considered using the WorkspaceAPI component:, but I don't see how I can catch the click event before the tab opens.
Does anyone have any ideas?
oppenSubtab
oropenTab
?