Introduction
This feature allows you to automatically convert cell data into clickable links. For example, if a cell contains “TokyoStation,” it will be displayed as a link leading to a Google Maps search for that location.
Steps to Implement
Step 1: Access Column Settings
- Open Table Editor and select the table you want to edit.
- Select the column where you want to display data as links.
- Click the “Style” button for that column.
Step 2: Add Code to the “Renderer” Field
- In the column settings, find the “Renderer” field.
- Insert the following code into this field:
'<a href="' + 'https://www.google.com/maps/search/?api=1&query=' + data + '" target="_blank">' + data + '</a>';
- Explanation of the Code:
{data}
will be replaced with the cell content.href
creates a search link on Google Maps.target="_blank"
ensures the link opens in a new tab.
Step 3: Save Changes
- Click “Save” to apply the configuration.
- Check the table to ensure the cell data is now displayed as clickable links.