Table of Contents
E-mail columns in wpDataTables
“E-mail link” columns are used to render the hyperlinks which can be clicked to open default mail applications to write messages.
- Rendering rules: If the content of the cells contains a combination of “two sticks” – || – everything to the left of this combination is used as an E-mail address for the link, and everything to the right as displayed text. Like this:
[email protected]||Write me an e-mail
will be rendered as this:
If the “||” combination is not found in the content, the entire content will be used for both the link, and as the display value. Like this:
will be rendered as this:
- Sorting rules: alphabetical.
- Applicable filter types: text.
- Issues to note: some issues may appear when you’re sorting on E-mail columns that feature a complicated HTML structure
Example of a table with email columns
“Referral e-mail” column in this table is an E-mail type column:
Read more
- Creating editable tables and filling the table data manually
- Creating non-editable tables from Excel files
- Creating non-editable tables from Google Spreadsheets
- String columns
- Integer columns
- Float columns
- Date columns
- DateTime columns
- Time columns
- Image columns
- URL link columns
- Currency/price columns, and other columns with labels
- Formula (calculated) columns
- Coloring and styling columns
- Hiding columns