1 {"slug":"/references/settings/interfaces/settings.AdminColumn","title":"AdminColumn","frontmatter":{"displayed_sidebar":"settingsReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The details of a column available for an entity's data table view."},{"kind":"typeList","sectionTitle":"AdminColumn","types":[{"name":"id","type":"`string`","description":"The column's unique identifier (e.g., \"display\\_id\", \"customer.email\").","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The display name for the column.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description of the column.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"field","type":"`string`","description":"The field path to access the data.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sortable","type":"`boolean`","description":"Whether the column can be sorted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"hideable","type":"`boolean`","description":"Whether the column can be hidden.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_visible","type":"`boolean`","description":"Whether the column is visible by default.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data_type","type":"`\"string\"` \\| `\"number\"` \\| `\"boolean\"` \\| `\"object\"` \\| `string` & `object` \\| `\"date\"` \\| `\"currency\"` \\| `\"enum\"`","description":"The data type of the column.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"semantic_type","type":"`string`","description":"The semantic type provides additional context about the data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`string`","description":"Additional context about the column.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"computed","type":"`object`","description":"Information about computed columns.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"type","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"required_fields","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"optional_fields","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record<string, any>`","description":"Arbitrary per-column configuration consumed by cell renderers (e.g. the\nfield path a renderer reads, or a value-&#62;variant map). Populated from the\nsettings entity override's `fieldMetadata` (any column) or a computed\ncolumn definition's `metadata`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relationship","type":"`object`","description":"Information about relationship columns.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"entity","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"field","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"default_order","type":"`number`","description":"Default order for sorting columns.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"category","type":"`\"identifier\"` \\| `\"timestamp\"` \\| `\"status\"` \\| `\"metric\"` \\| `\"relationship\"` \\| `\"metadata\"` \\| `\"field\"` \\| `\"computed\"`","description":"Category for grouping columns.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"render_mode","type":"`string`","description":"Render mode hint for the UI to determine how to display this column.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filter","type":"`object`","description":"Filter configuration for this column.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether filtering is enabled for this column.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operators","type":"`string`[]","description":"Available filter operators.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enumValues","type":"`string`[]","description":"Enum values if applicable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relationship","type":"[RelationshipFilterConfig](/references/settings/interfaces/settings.RelationshipFilterConfig)","description":"Relationship filter config for dropdown selection.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"entity","type":"`string`","description":"Related entity name (e.g., \"SalesChannel\").","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value_field","type":"`string`","description":"Field to use as filter value (e.g., \"id\").","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"display_field","type":"`string`","description":"Field to display in dropdown (e.g., \"name\").","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"multiple","type":"`boolean`","description":"Whether multiple selection is allowed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"endpoint","type":"`string`","description":"API endpoint to fetch options (e.g., \"/admin/sales-channels\").","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"filter_key","type":"`string`","description":"Key to use for filtering the relationship. If not provided, the column field is used.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"source","type":"`object`","description":"Source information about where this column comes from.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"module","type":"`string`","description":"Module name.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"entity","type":"`string`","description":"Entity name.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"custom_label","type":"`boolean`","description":"Whether this column uses a custom user-defined label.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"label_id","type":"`string`","description":"ID of the PropertyLabel record if custom label is used.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}