Appearance
Numeric Value
The Numeric value column type tells Ninja Tables that a column holds numbers. Sorting then works by value (2 before 10), and number rules in Conditional formatting and formulas in Transform value can read the cells. Choosing the type is free; the Separator style option needs Pro.
Set a column to Numeric value
- Go to Tables › your table › Table Rows.
- To add a new column, click Add column. To change an existing one, click the gear icon on its header and choose Column settings.
- In the Basic tab, set Type to Numeric value.
- Click Add column or Save column.
Separator style (Pro)
With Pro, a Separator style setting appears under Type. It tells Ninja Tables how to read the numbers in this column for sorting, conditional formatting and formulas:
- US style - decimal point (123,234.01): thousands separator
,and decimal separator.. - European style - decimal comma (123.234,01): thousands separator
.and decimal separator,.
Without Pro the setting is hidden and the column uses the US style (, for thousands, . for decimals). The setting only changes how numbers are read. It does not reformat them.
Enter values
- In the grid: click a cell and type the number. Press Enter or click away to save.
- In the row drawer: type in the column's text box, then click Add row or Update. See Working in Table Rows.
Type the number in the style you chose, for example 1,234.50 for US or 1.234,50 for European.
How it looks on your site
Numbers show exactly as you typed them. Ninja Tables adds no thousands separators or decimals for you. To format a number, for example with a currency symbol, use Transform value.
One exception: when a European style column has a Transform value (Pro), a numeric result is shown with a decimal comma, for example 1.234,50.