Smart linking of column data

ID Email Url
7247 vero-et@amet.com http://www.et.org/
6015 amet-voluptua@vero.com http://www.voluptua.org/
46467 kasd-amet@elitr.com http://www.amet.org/
9077 elitr-duo@consetetur.com http://www.duo.org/
87921 Stet-erat@rebum.com http://www.erat.org/
94278 dolores-ut@ut.com http://www.ut.org/
71208 sanctus-labore@gubergren.com http://www.labore.org/
22220 sanctus-est@erat.com http://www.est.org/
19563 magna-erat@tempor.com http://www.erat.org/
52019 sit-Stet@At.com http://www.Stet.org/

If you have email addresses or web URLs in the data that you are displaying in columns of your table, then you can set the autolink="true" attribute in your display:column tag, and that will tell the display:table to automatically display those pieces of data as hyperlinks, you will not have to take any action to convert that data.

  • Email addresses will be wrapped with a <a href="mailto:xxx">xxx</a> tag, where "xxx" is the email address that was detected.
  • Web URLs will be wrapped with a <a href="xxx">xxx</a> tag, where "xxx" is the URL that was detected (it can be any valid URL type, http://, https://, ftp://, etc...)

If your column data has additional text, only the data that appears to be an email address or a URL will be linked (not the entire column).

Turning on autolink does carry a performance penalty, as each string has to be scanned for patterns and updated if it matches on an address or URL.