Table of Contents
Which column types wpDataTables has and when to use each
Say you build a job applications table with a name, an age, a GPA, a photo, an interview date and time, an email, a website and a link to a CV. Each of these values needs a different column type, so that numbers sort as numbers, dates show in your format and links can be clicked. wpDataTables picks a type for every column when you create a table, and you can change it at any time.
Which column types are there?
wpDataTables has nine column types for values from your data source:
| Type | Use it for | Example |
|---|---|---|
| String | Text such as names, descriptions and comments. The default type. | Jane Doe |
| Integer | Whole numbers such as quantities, IDs and counts | 29 |
| Float | Decimal numbers such as prices, ratings and measurements | 3.75 |
| Date | Calendar dates such as birthdays, events and deadlines | 15/02/1994 |
| DateTime | A date with a time, such as appointments and log entries | 20/08/2026 12:00 PM |
| Time | Times of day, such as opening hours and arrivals | 09:29 AM |
| Image | Pictures such as profile photos and product images | A photo |
| E-mail link | Email addresses that open the visitor’s email app | [email protected] |
| URL link | Links to web pages and files, such as a website or a CV | Jane’s website |
The Column type list also has Index, Hidden (Dynamic), Formula, Select, Cart and Master-detail. These belong to features rather than to your data, and some of them can’t be chosen for every table. For example, an index column numbers the rows, formula columns calculate values from other columns, and hidden (dynamic) columns fill in values such as the current user in manual tables. For currency and percentage values, you don’t need a separate type: add a prefix or a suffix to a number column, as described in How to show currency and percentage values.
How do I change the type of a column?
Ask Tabella AI or set the type in the Data tab of the column settings.
- With Tabella AI: open the table, click Ask Tabella AI and type, for example: Change the Price column type to Float with 2 decimal places. Tabella AI lists what it changed, and you click Save Changes to keep it.
- In the column settings: open the table, click the settings icon in the column header, choose the type in Column type in the Data tab and click Save Changes.
The type list in the column settings shows all available types:

The type decides how values show, sort and filter. Numbers sort by value only in Integer and Float columns, dates sort by date only in Date and DateTime columns, and range filters work only with number, date and time types.
What should I remember about column types?
Pick the type that matches the values: String for text, Integer and Float for numbers, Date, DateTime and Time for dates and times, and Image, E-mail link and URL link for pictures and links. Change it with Tabella AI or in the Data tab of the column settings, because the type decides how the column shows, sorts and filters.
Where can I read more?
Each column type has its own page: