Smart linking of column data

ID Email Url
19700 no-magna@sadipscing.com http://www.magna.org/
80970 kasd-diam@est.com http://www.diam.org/
23137 tempor-sit@kasd.com http://www.sit.org/
71015 vero-sit@clita.com http://www.sit.org/
75636 duo-diam@tempor.com http://www.diam.org/
41577 duo-tempor@duo.com http://www.tempor.org/
41070 takimata-ut@no.com http://www.ut.org/
87943 kasd-accusam@invidunt.com http://www.accusam.org/
49180 consetetur-est@sanctus.com http://www.est.org/
31791 labore-sanctus@voluptua.com http://www.sanctus.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.