You are reading the documentation for version 2.2. Magento 2.3 is the latest version available. Ensure you are reading the documentation for your version of Magento.

SelectColumn component

The SelectColumn component receives an array of values and displays the column with corresponding labels. The value-label correspondence is set in the component’s configuration.

Configuration options

Option Description Type Default
options An array of objects used to display a field's content by matching the associated record's value with the value of one of the elements provided in options. Array ui/grid/cells/thumbnail

Option interface

Option Description Type Required
value Option's identifier or an array of options. String | Number | Array<Option> Required
label Label to be displayed in a column's field. String Required

Source files

Extends Column: