Class ImGuiTable
Helpers for drawing tables.
Assembly: Dalamud.dll
View Source
Declaration
public static class ImGuiTable
Methods
DrawTable<T>(string, IEnumerable<T>, Action<T>, ImGuiTableFlags, params string[])
Draw a simple table with the given data using the drawRow action. Headers and thus columns and column count are defined by columnTitles.
View Source
Declaration
public static void DrawTable<T>(string label, IEnumerable<T> data, Action<T> drawRow, ImGuiTableFlags flags = ImGuiTableFlags.None, params string[] columnTitles)
Parameters
Type | Name |
---|---|
System.String | label |
System.Collections.Generic.IEnumerable<<T>> | data |
System.Action<<T>> | drawRow |
ImGuiNET.ImGuiTableFlags | flags |
System.String[] | columnTitles |
Type Parameters
T
DrawTabbedTable<T>(string, IEnumerable<T>, Action<T>, ImGuiTableFlags, params string[])
Draw a simple table with the given data using the drawRow action inside a collapsing header. Headers and thus columns and column count are defined by columnTitles.
View Source
Declaration
public static void DrawTabbedTable<T>(string label, IEnumerable<T> data, Action<T> drawRow, ImGuiTableFlags flags = ImGuiTableFlags.None, params string[] columnTitles)
Parameters
Type | Name |
---|---|
System.String | label |
System.Collections.Generic.IEnumerable<<T>> | data |
System.Action<<T>> | drawRow |
ImGuiNET.ImGuiTableFlags | flags |
System.String[] | columnTitles |
Type Parameters
T