Skip to content

@serenity-is/corelib / UtilityColumns / getDisplayName

Function: getDisplayName()

getDisplayName(column): string

Defined in: src/ui/helpers/utilitycolumns.tsx:56

Gets the text that identifies a column to the user in places like the column picker. For a utility column, the name is often blank, so this falls back to its tooltip, then to a symbol for the known ones, and then to its id without the underscores. For other columns it is the name, the tooltip or the id.

Parameters

column

Column

The column to get the display name of.

Returns

string

The display name, or an empty string if the column is null.