SelectColumn component

Overview

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.

Constructor: app/code/Magento/Ui/view/base/web/js/grid/columns/select.js

SelectColumn configuration

Extends all Column configuration.

SelectColumn-specific configuration:

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