Enumeration

OmniColumnFlags

Declaration

flags Omni.ColumnFlags

Description

A set of flags indicating properties of a detail view column.

The flags can be set by OmniColumnBuilder:flags.

The unused bits are reserved for future use and must be cleared.

Members

OMNI_COLUMN_FLAGS_PIN_START

Pin the column to the left in the initial state.

Pinned columns are displayed in a separate area called a frozen band (one exists for each direction). The remaining columns are added to the unfrozen band. The layout algorithm maximizes the area allocated to the frozen bands while maintaining a sensible minimum width (hard-coded in the application) for the unfrozen band. Horizontal scrolling is per-band, so all bands are always visible at the same time.

Pinning allows maintaining the visibility of key columns (like identifiers) in a wide table. The recommended approach when designing a table is:

  • Pin the columns whose contents are short and fixed-width, such as scalar values.

  • Leave one column containing contents of arbitrary lengths, such as log lines, unpinned and give it a very large width.

Pinning has no effect if the viewport can display all columns.

It is illegal to specify both PIN_START and PIN_END.

  • Value: 1
  • Available since: 0.0
OMNI_COLUMN_FLAGS_PIN_END

Pin the column to the right in the initial state.

This flag is ignored for an aggregation detail view.

  • Value: 2
  • Available since: 0.0