enum ImGui::ImGuiTableColumnFlags


enum ImGuiTableColumnFlags_

Defined in:


Enum Members

None = 0
Disabled = 1

Overriding/master disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state)

DefaultHide = 2

Default as a hidden/disabled column.

DefaultSort = 4

Default as a sorting column.

WidthStretch = 8

Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp).

WidthFixed = 16

Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable).

NoResize = 32

Disable manual resizing.

NoReorder = 64

Disable manual reordering this column, this will also prevent other columns from crossing over this column.

NoHide = 128

Disable ability to hide/disable this column.

NoClip = 256

Disable clipping for this column (all NoClip columns will render in a same draw command).

NoSort = 512

Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table).

NoSortAscending = 1024

Disable ability to sort in the ascending direction.

NoSortDescending = 2048

Disable ability to sort in the descending direction.

NoHeaderLabel = 4096

TableHeadersRow() will not submit label for this column. Convenient for some small columns. Name will still appear in context menu.

NoHeaderWidth = 8192

Disable header text width contribution to automatic column width.

PreferSortAscending = 16384

Make the initial sort direction Ascending when first sorting on this column (default).

PreferSortDescending = 32768

Make the initial sort direction Descending when first sorting on this column.

IndentEnable = 65536

Use current Indent value when entering cell (default for column 0).

IndentDisable = 131072

Ignore current Indent value when entering cell (default for columns > 0). Indentation changes within the cell will still be honored.

IsEnabled = 16777216

Status: is enabled == not hidden by user/api (referred to as "Hide" in _DefaultHide and _NoHide) flags.

IsVisible = 33554432

Status: is visible == is enabled AND not clipped by scrolling.

IsSorted = 67108864

Status: is currently part of the sort specs

IsHovered = 134217728

Status: is hovered by mouse

WidthMask_ = 24
IndentMask_ = 196608
StatusMask_ = 251658240
NoDirectResize_ = 1073741824

[Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge)

Instance Method Summary

Instance Method Detail

def default_hide? #

[View source]
def default_sort? #

[View source]
def disabled? #

[View source]
def indent_disable? #

[View source]
def indent_enable? #

[View source]
def indent_mask_? #

[View source]
def is_enabled? #

[View source]
def is_hovered? #

[View source]
def is_sorted? #

[View source]
def is_visible? #

[View source]
def no_clip? #

[View source]
def no_direct_resize_? #

[View source]
def no_header_label? #

[View source]
def no_header_width? #

[View source]
def no_hide? #

[View source]
def no_reorder? #

[View source]
def no_resize? #

[View source]
def no_sort? #

[View source]
def no_sort_ascending? #

[View source]
def no_sort_descending? #

[View source]
def none? #

[View source]
def prefer_sort_ascending? #

[View source]
def prefer_sort_descending? #

[View source]
def status_mask_? #

[View source]
def width_fixed? #

[View source]
def width_mask_? #

[View source]
def width_stretch? #

[View source]