Our Biggest Sale Is Here
Up to 70% Off
Get the Deal

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 Column type list open in the Data tab of the Product column settings in wpDataTables, starting with String, Integer, Float, Date, DateTime and Time
Column settings: (1) the Data tab, (2) the Column type list. Scroll the list to see all 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.

Wait, Before You Download!

To get your hands on wpDataTables Lite, please enter your email address below. We’ll send you a direct download link and keep you updated on existing features along with helpful tips and tricks!

By continuing, I accept Privacy Policy and T&C
Mail Box