Skip to main content
Custom columns let you extend a grid with your own data fields. You can add them manually, edit cell values inline, and choose how each column stores and displays its data.
This page covers the API-level details of custom columns. For the in-app Add Column flow with screenshots and step-by-step walkthroughs, see Add columns.

Add a custom column

Click Add Column in the grid toolbar to open the column stepper. The stepper walks you through two steps:
  1. Select a column type - choose from Text, Number, Currency, or Formula.
  2. Configure the column - set a name and any type-specific options, then click Add Column.
The new column appears immediately in the grid.

Column types

Formula columns

Formula columns reference other column values using expressions and display the result according to a Display Format you pick during setup:
Grouping and aggregation are not available for formula columns.

Edit cell values

Custom columns are editable directly in the grid. Click a cell and type to update its value. Press Enter to confirm and move to the next row. Retailgrid validates the value against the column’s storage type before saving: If the value cannot be coerced to the expected type, the API returns a 422 error and the cell reverts to its previous value. Clearing a cell (leaving it empty) stores null for all column types.

API reference

The internal API path segment is currently /workbooks/ for historical reasons. The customer-facing concept is Grid everywhere in the product and the docs; the path segment will be renamed in a future API version. Both segments resolve to the same endpoint.

Add a custom column

Request body
Response

Set a cell value

Request body
Errors