alias ImGui::TopLevel::ImGuiTableFlags
Alias Definition
ImGui::ImGuiTableFlags
Defined in:
types.crConstant Summary
-
All =
536870911
-
Borders =
1920
-
Draw all borders.
-
BordersH =
384
-
Draw horizontal borders.
-
BordersInner =
640
-
Draw inner borders.
-
BordersInnerH =
128
-
Draw horizontal borders between rows.
-
BordersInnerV =
512
-
Draw vertical borders between columns.
-
BordersOuter =
1280
-
Draw outer borders.
-
BordersOuterH =
256
-
Draw horizontal borders at the top and bottom.
-
BordersOuterV =
1024
-
Draw vertical borders on the left and right sides.
-
BordersV =
1536
-
Draw vertical borders.
-
ContextMenuInBody =
32
-
Right-click on columns body/contents will display table context menu. By default it is available in TableHeadersRow().
-
Hideable =
4
-
Enable hiding/disabling columns in context menu.
-
HighlightHoveredColumn =
268435456
-
Highlight column headers when hovered (may evolve into a fuller highlight)
-
NoBordersInBody =
2048
-
[ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style
-
NoBordersInBodyUntilResize =
4096
-
[ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style
-
NoClip =
1048576
-
Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze().
-
NoHostExtendX =
65536
-
Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollX/ScrollY are disabled and Stretch columns are not used.
-
NoHostExtendY =
131072
-
Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollX/ScrollY are disabled. Data below the limit will be clipped and not visible.
-
NoKeepColumnsVisible =
262144
-
Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable.
-
None =
0
-
NoPadInnerX =
8388608
-
Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off).
-
NoPadOuterX =
4194304
-
Default if BordersOuterV is off. Disable outermost padding.
-
NoSavedSettings =
16
-
Disable persisting columns order, width and sort settings in the .ini file.
-
PadOuterX =
2097152
-
Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers.
-
PreciseWidths =
524288
-
Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth.
-
Reorderable =
2
-
Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers)
-
Resizable =
1
-
Enable resizing columns.
-
RowBg =
64
-
Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually)
-
ScrollX =
16777216
-
Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX.
-
ScrollY =
33554432
-
Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size.
-
SizingFixedFit =
8192
-
Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width.
-
SizingFixedSame =
16384
-
Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible.
-
SizingMask_ =
57344
-
SizingStretchProp =
24576
-
Columns default to _WidthStretch with default weights proportional to each columns contents widths.
-
SizingStretchSame =
32768
-
Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn().
-
Sortable =
8
-
Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate.
-
SortMulti =
67108864
-
Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1).
-
SortTristate =
134217728
-
Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0).