Renders lists and arrays in the inspector as tables.

namespace Sirenix.OdinInspector
[AttributeUsageAttribute((AttributeTargets)32767, AllowMultiple = False)]
public class TableListAttribute : Attribute


Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector

See Also


Return Type Definition Description
bool AlwaysExpanded If true, expanding and collapsing the table from the table title-bar is no longer an option.
int CellPadding The cell padding.
int DefaultMinColumnWidth The default minimum column width - 40 by default. This can be overwriten by individual columns using the TableColumnWidthAttribute.
bool DrawScrollView Whether to draw all rows in a scroll-view.
bool HideToolbar Whether to hide the toolbar containing the add button and pagin etc.s
bool IsReadOnly Mark the table as read-only. This removes all editing capabilities from the list such as Add and delete, but without disabling GUI for each element drawn as otherwise would be the case if the ReadOnlyAttribute was used.
int MaxScrollViewHeight The number of pixels before a scroll view appears. 0 by default.
int MinScrollViewHeight The number of pixels before a scroll view appears. 350 by default.
int NumberOfItemsPerPage If ShowPaging is enabled, this will override the default setting specified in the Odin Preferences window.
bool ShowIndexLabels If true, a label is drawn for each element which shows the index of the element.


Return Type Definition Description
int ScrollViewHeight Sets the Min and Max ScrollViewHeight.
bool ShowPaging Whether paging buttons should be added to the title bar. The default value of this, can be customized from the Odin Preferences window.
bool ShowPagingHasValue Whether the ShowPaging property has been set.