Skip to main content

Columns

Grid → Columns, in the Screen Designer, is where you set each column's settings: how the column renders in the grid, how it appears in the dialog form, whether it filters, whether it's required, whether it's part of the row's primary key. Set each column once — both surfaces (grid and dialog) use the same configuration.


The columns at a glance​

Screen Designer · Customerscrm · customers✕ CancelWHAT IT ISCustomersDATAcustomers_get3 save query(ies)GRID6 column(s)3 filter(s)RECORD FORM2 tab(s)8 field(s)ACTIONS1 toolbar action(s)OUTPUTthe grid's own exportColumnsViewsSummary⠿CUSTOMER_IDCustomerfilterkey✕⠿NAMENamefilter✕⠿STATUSStatusfilterLOOKUP✕⠿COUNTRYCountryfilter✕⠿CREDIT_LIMITCredit limit✕⠿UPDATED_ATUpdated atread only✕+ Add a column≋ STATUSGeneralDisplayFilterRulesEditDefaultsKIND OF FIELDLOOKUPA list read from a table▾What the field is: free text, a list, a yes / no box… Blank uses the dictionary's.moreLIST FROM A TABLEcustomer_status▾☰ New list from a table…What the kind of field uses: the list, the numbering rule, the value that means yes.moreANOTHER KIND WHEN+ addCODE ONLYdisabledVALUES GIVEN TO THE LIST+ add💾 Save✕ CancelNamed by its labelthen application · idMarks worth seeingkey, filter, kind, read only…Add a columndrag ⠿ to reorder, ✕ to removeSix tabsRules holds the kind of fieldKind of fieldone choice in plain wordsField of that kind onlynamed after the kindNew list from a table…query + list in one stepShort help · morethe long text behind more

The list shows one line per column with its marks — key, filter, its kind of field, read only…; a click on a line opens its settings beside the list, in six tabs. Each field carries one short sentence of help; more opens the longer explanation.

TabHolds
GeneralColumn, Dictionary item, Key, Sensitive data, Related table (the related one-to-one table the column is written to).
DisplayLabel, Hidden, Format, Alignment, Width, Wrap long text, Parameters of the service in, On a phone, Width in the form, Link that runs.
FilterFilter, Period shown at first, Narrowed by, Shown only when.
RulesKind of field, the field that kind needs, Another kind when — and, for a list read from a table, Code only, Values given to the list, Fills other fields.
EditRequired, Required only when, Read only, Read only when, Read only when adding, Read only when changing, Align when saving, Align as the item in.
DefaultsDefault value, Forced value when, Saved only when.

A list setting (a condition, a cascading filter) opens in the same panel; the breadcrumb at the top leads back to the column.


Field by field​

Every column carries the same settings. They are described below by purpose.

Identity​

FieldNotes
ColumnThe result column these settings apply to. Case-insensitive match against the read query's columns. Normalised to UPPERCASE on save.
Dictionary itemThe dictionary entry that gives the column its label, format and list. (default) uses the column's name as the key.
Sensitive dataWhether the column holds sensitive data, for the AI assistant: left out of what the assistant is given when the installation hides sensitive data. Three choices: (default) follows the column's dictionary entry, yes flags the column, no exempts it even when its entry is flagged. See Sensitive data.

The dictionary is Liberty's shared vocabulary — one entry defines a field's label, format, kind of field and list once; every screen that has a column with that name inherits it. See Concepts → Dictionary.

Display in the grid​

FieldNotes
LabelThe title of the grid header and the label of the form field. Falls back to the dictionary's label, then to the column name.
HiddenThe column is hidden at first. The operator can show it from the grid's Columns menu.
Wrap long textLong text wraps over several lines in the grid instead of being cut.
WidthFixed column width in pixels. Blank fits the content.
AlignmentLeft, right or centred. Blank follows the kind of value (numbers right, text left).
FormatHow to render the value — date, number, yes / no, currency… Overrides the dictionary format. Drives both the grid cell and the form field.
Long Text, Name = value listTwo formats worth knowing. Long Text is typed in a multi-line box, in the record form and in the grid's edit mode, and keeps its line breaks. Name = value list shows a text of name = value lines as rows of fields in the record form (add, remove, As text / As fields); with Parameters of the service in — the column of the screen that names an endpoint — it becomes that endpoint's own form, one labelled field per parameter.
On a phoneWhere the column goes on a card, when the grid is a list of cards: title puts it in the card's heading, show always gives it a line, hide never shows it. Blank: the grid decides. See Phone and tablet.

Kind of field​

Kind of field (Rules tab) says what the field is, in plain words, with its code beside it. (default) uses the dictionary's — the line under the field says which (What the dictionary says for this item: ENUM (PERIOD_STATUS)).

Kind of fieldCodeIn the formThe field it needs
A yes / no boxBOOLEANA check box.Value that means yes (Y, 1, true…), and Value for no.
A fixed list of valuesENUMA dropdown of the list's values.List of values — an enum of the dictionary.
A list read from a tableLOOKUPA searchable list of the table's rows.List from a table — a lookup of the dictionary, or a new one made from here: see below.
A number given automaticallySEQUENCEFilled by the server on insert.Numbering rule — a sequence of the dictionary.
The signed-in userLOGINFilled with the user's name.—
Today's dateSYSDATEFilled with today's date.—
A password (hidden, stored encrypted)PASSWORDEncrypted on write.—
A database of this installationPOOLA dropdown of the pools.Only the databases of — blank offers every pool.
Free text; left empty, it takes its default valueDEFAULTFree text.— (the Default value of the Defaults tab).
Free text, whatever the dictionary saysDISABLEDFree text: cancels the kind the dictionary gives, for this screen.—

Only the field the chosen kind needs is shown, under the name of what it is for that kind. The effect of each kind on writes is described in Dictionary → Kinds of field.

A list read from a table adds three settings:

FieldNotes
Code onlyShows the code alone in the grid, without its description.
Values given to the listValues of the record that narrow the list's query — for instance the application of the row, to offer only that application's roles. See Parameter binding.
Fills other fieldsWhen a line is picked, copies columns of that line into other fields of the record.

Another kind when gives the field another kind — another list, another enum, a yes / no box — while another column has a given value. See Form conditions.

A list read from a table, in one step​

When the list does not exist yet, New list from a table…, under List from a table, makes it without leaving the column. The New lookup window asks for:

FieldNotes
TableA table of the screen's database.
Value columnThe code stored on the row.
Label columnThe description shown to the user.
Optional WHERE clauseWritten without the keyword.
Query name, Id, DescriptionFilled from the table; they can be changed.
Generated SQL — editableThe query, as it will be saved.

Save adds the query to the application's list queries and the list to its dictionary — two new objects, nothing existing is changed —, reloads the configuration and picks the new list in the column.

Edit​

FieldNotes
RequiredThe field is marked with an asterisk and Save stays blocked while it is empty.
Read onlyThe operator sees the value but cannot change it.
Read only when adding / Read only when changingRead only only when a record is added, or only once it exists — the second one for keys that must not change.
Required only when / Read only whenRequired or read only only while conditions on other fields hold. A required field blocks Save only while it is visible.
Align when savingHow the written value is padded, for codes stored right-aligned. Blank does as the dictionary says.
Align as the item inThe column naming the dictionary item whose alignment and width this value follows.

Defaults​

FieldNotes
Default valueThe value a new record starts with.
Forced value whenA value set (and locked, unless Locked is unticked) while another column has a given value.
Saved only whenThe column is saved only while the condition holds; otherwise it is saved empty.

Key​

FieldNotes
KeyThis column identifies the record, alone or with the other key columns. Drives:
– Excel-import update-vs-insert matching.
– In add mode, a key column shows a plain input instead of its list (a new key is typed, not picked).
– The _put query's :NAME_ORIGINAL binding (the CRUD Wizard's convention).

A key is not locked automatically when a record is edited: tick Read only when changing (Edit tab) on the key columns that must not change once the record exists. Mark every column that uniquely identifies a record. Multi-column keys are supported — tick Key on each. When the screen's Key columns is empty (the usual case), the columns marked Key are used.

Filtering​

FieldNotes
FilterThe column appears in the filters above the grid. The user picks a value to narrow the grid; on a column with a fixed list of values, several values at once, and a code typed beyond the list is accepted. A list read from a table keeps a single choice. A date column (date, datetime, timestamp format, or a date type in the database) filters by a period.
Period shown at firstOn a date column with Filter, the period the screen opens on: today, yesterday, last 7 or 30 days, this or last month, this quarter, this or last year, last 12 months. Blank or all: no period, every row. The screen's first automatic run already applies it.
Narrowed byCascading filter — narrows this column's choices with another filter's value: Filter (the other filter) and Matched on (the column of this list compared with that filter's value).
Shown only whenIn the grid, hides the column when a filter is set to a value outside the condition; in the form, shows the field only while the form's values match.

The conditions are described on Form conditions, with examples on Conditional fields.

A typical column​

For a STATUS column on a customers screen, the settings usually are:

FieldValue
ColumnSTATUS
Dictionary item(default) — uses STATUS as the key
Label, Formatblank — inherited from the dictionary
Kind of fieldA fixed list of values
List of valuesSTATUS_CODES (an enum of the dictionary)
Default valueOPEN
Required✓
Filter✓

That renders a dropdown in the form (sourced from the STATUS_CODES enum), pre-fills new records with OPEN, requires a value, and adds a filter to the grid.


Inheriting from the dictionary​

The default behaviour — when most fields are blank — is to inherit from the dictionary. The chain:

Column settingBlank → taken from
Labelthe entry's label, then the column name
Formatthe entry's format, then the type of the value
Kind of field and its listthe entry's kind of field and its list

This means a column named USR_ID on a screen automatically reads its label, format, kind of field and list from the dictionary entry USR_ID (or the one picked in Dictionary item). The screen overrides only when this screen needs different behaviour from the rest.

The column list is therefore mostly empty for well-dictionary'd installs — entries only appear when there's something to override.


Filtering and cascading filters​

When a column has Filter ticked, a chip for it appears in the grid's filter panel. The user picks a value, the grid re-runs the read query with that value bound to the matching :placeholder param. The query is responsible for accepting the bind.

A period on a date column​

On a date column, the filter panel shows a period instead of a single date: the same picker as the dashboards, with its presets (Today, Yesterday, Last 7 days, Last 30 days, This month, Last month, This quarter, This year, Last year, Last 12 months, All dates) and a two-month calendar for a custom range. The run sends the two bounds as <COL>_from and <COL>_to, and the server bounds the column itself — the read query needs no placeholder for them. A period ending on a day keeps all of that day's rows, times included.

A drill or a link that passes a date to a date column opens the screen on that one day.

Cascading filters narrow one filter's options based on another. The classic case: a Role dropdown that shows only roles for the currently-picked Application:

FieldValue on ROLE_ID
Kind of fieldA list read from a table
List from a tableget_roles
Filter✓
Narrowed by → FilterAPPS_ID (the parent filter)
Narrowed by → Matched onAPP_ID (the column of the list's query that matches the parent filter's value)

When the user picks an application, the role lookup re-runs with the application id bound — the user only sees that application's roles.


Order of columns​

The order of the column list = the display order in the grid. Columns the read query returns but that aren't listed here keep their discovery order and follow the hinted ones.

To reorder:

GoalAction
Move a column up / down.Drag its row in the list (the drag handle is the left edge of the row).
Hide a column entirely.Tick Hidden. The operator can still un-hide it from the grid's Columns menu.
Drop a column from both grid and dialog.Remove it from the list (✕) AND make sure it's not on any dialog tab's fields. (Or alter the read query to not return it.)

Common pitfalls​

MistakeSymptomFix
Dictionary item USR_ID but no dictionary entry named USR_ID.Label and format fall back to the column name verbatim.Add the dictionary entry, or set Label and Format on the column.
A list read from a table but List from a table blank.The dropdown is empty.Pick a list, or make one with New list from a table….
Narrowed by set but Filter not ticked.The cascade does nothing — the source filter never fires.Tick Filter AND set Narrowed by.
Required on a column the read query doesn't return.The dialog saves with NULL; if the DB has a NOT NULL constraint, the write fails.Add the column to the read query, or untick Required.
Key on a non-unique column.Excel import treats duplicate values as updates of the same row.Verify the key columns genuinely identify a row uniquely.
Format currency but the value is in cents (integer).The grid renders 1,234.00 for 123456.Format expects the value in the unit you want displayed — divide by 100 in the query, or use a Python step before display.

What's next​

  • Dialog builder — fields you've configured here become drag-droppable cards on the canvas.
  • Conditional fields — make a column appear / be required / be locked only under specific form conditions.
  • Concepts → Dictionary — the shared vocabulary that columns inherit from.