Hello,
I have a table in a dashboard, which has a "Website" field. To show the links, one has to add the following Arcade script to the advanced formatting values section:
displayText: `<a href=${$datapoint.Website}>${$datapoint.Website}</a>`,
Two things happen: the link shows up as a default blue underlined text, and the "Column sizing" option "Fit to data" is ignored (meaning that the field takes the size of the heading rather than the data within it such as the hyperlink length).
In the first instance, when one selects a record in the table, the "selection text color" is ignored/over-ruled for the link as it remains blue, making it hard to see. I would ideally like that website text color to change to maybe something like this '#6BAEDB' when the record is selected in the table (for color contrast). However, I a have been unable to get it to work with such terms as "textColor", "linkColor", or "selectionTextColor". Any guidance?
Secondly is there a way to get the column sizing to recognise the hyperlink length?
Thanks