API reference
Preparing search index…

ImGui.ImGuiTableFlags

Const
ImGuiTableFlags: Readonly<
    {
        Borders: 1920;
        BordersH: 384;
        BordersInner: 640;
        BordersInnerH: 128;
        BordersInnerV: 512;
        BordersOuter: 1280;
        BordersOuterH: 256;
        BordersOuterV: 1024;
        BordersV: 1536;
        ContextMenuInBody: 32;
        Hideable: 4;
        HighlightHoveredColumn: 268435456;
        NoBordersInBody: 2048;
        NoBordersInBodyUntilResize: 4096;
        NoClip: 1048576;
        NoHostExtendX: 65536;
        NoHostExtendY: 131072;
        NoKeepColumnsVisible: 262144;
        None: 0;
        NoPadInnerX: 8388608;
        NoPadOuterX: 4194304;
        NoSavedSettings: 16;
        PadOuterX: 2097152;
        PreciseWidths: 524288;
        Reorderable: 2;
        Resizable: 1;
        RowBg: 64;
        ScrollX: 16777216;
        ScrollY: 33554432;
        SizingFixedFit: 8192;
        SizingFixedSame: 16384;
        SizingMask_: 57344;
        SizingStretchProp: 24576;
        SizingStretchSame: 32768;
        Sortable: 8;
        SortMulti: 67108864;
        SortTristate: 134217728;
    },
> = ...

Table layout, decoration and interaction options. Choose one sizing policy; sorting supplies specs, not sorted application data.

Type declaration

  • ReadonlyBorders: 1920

    Draw all inner and outer borders.

  • ReadonlyBordersH: 384

    Draw all horizontal borders.

  • ReadonlyBordersInner: 640

    Draw borders between all rows and columns.

  • ReadonlyBordersInnerH: 128

    Draw horizontal borders between rows.

  • ReadonlyBordersInnerV: 512

    Draw vertical borders between columns.

  • ReadonlyBordersOuter: 1280

    Draw the complete outer table border.

  • ReadonlyBordersOuterH: 256

    Draw top and bottom outer borders.

  • ReadonlyBordersOuterV: 1024

    Draw left and right outer borders.

  • ReadonlyBordersV: 1536

    Draw all vertical borders.

  • ReadonlyContextMenuInBody: 32

    Open the table context menu by right-clicking body cells too.

  • ReadonlyHideable: 4

    Allow hiding columns through the context menu.

  • ReadonlyHighlightHoveredColumn: 268435456

    Highlight the header of the hovered column.

  • ReadonlyNoBordersInBody: 2048

    Hide vertical body borders; keep header borders.

  • ReadonlyNoBordersInBodyUntilResize: 4096

    Show vertical body borders only when hovered for resizing.

  • ReadonlyNoClip: 1048576

    Disable per-column clipping; content may overlap adjacent columns. Generally incompatible with frozen rows/columns.

  • ReadonlyNoHostExtendX: 65536

    Fit outer width to columns; requires no scrolling and no stretch columns.

  • ReadonlyNoHostExtendY: 131072

    With scrolling disabled, stop at outer_size.y and clip excess rows.

  • ReadonlyNoKeepColumnsVisible: 262144

    Allow columns to become fully hidden when a non-scrolling table shrinks.

  • ReadonlyNone: 0

    Use default table behavior.

  • ReadonlyNoPadInnerX: 8388608

    Remove horizontal padding between columns.

  • ReadonlyNoPadOuterX: 4194304

    Remove horizontal padding at the table's outer edges.

  • ReadonlyNoSavedSettings: 16

    Do not persist column order, width or sorting in INI settings.

  • ReadonlyPadOuterX: 2097152

    Add horizontal padding at the table's outer edges.

  • ReadonlyPreciseWidths: 524288

    Leave remainder pixels unassigned when dividing stretch widths.

  • ReadonlyReorderable: 2

    Allow dragging headers to reorder columns.

  • ReadonlyResizable: 1

    Allow users to resize columns.

  • ReadonlyRowBg: 64

    Alternate TableRowBg and TableRowBgAlt on row background layer zero.

  • ReadonlyScrollX: 16777216

    Enable horizontal scrolling; BeginTable() needs an outer container size.

  • ReadonlyScrollY: 33554432

    Enable vertical scrolling; BeginTable() needs an outer container size.

  • ReadonlySizingFixedFit: 8192

    Default columns to content-fitting fixed widths.

  • ReadonlySizingFixedSame: 16384

    Use the widest content width for all fixed columns; implies NoKeepColumnsVisible.

  • ReadonlySizingMask_: 57344

    Internal mask extracting the encoded sizing policy.

  • ReadonlySizingStretchProp: 24576

    Stretch columns with weights proportional to content width.

  • ReadonlySizingStretchSame: 32768

    Stretch columns with equal default weights.

  • ReadonlySortable: 8

    Enable sort controls; read TableGetSortSpecs() and sort data yourself.

  • ReadonlySortMulti: 67108864

    Allow Shift+header-click to build multi-column sort specifications.

  • ReadonlySortTristate: 134217728

    Allow an unsorted state and disable default sorting.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0