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.

ThumbnailColumn component

The ThumbnailColumn component implements a column containing images associated with records of the table. Each field of this column contains an image preview. When a user click on the preview, a pop up window with the detailed view opens.

Configuration options

Option Description Type Default
bodyTmpl Path to the template used for rendering a column's fields in the table's body. String ui/grid/cells/thumbnail
fieldClass Additional CSS classes added to the column's field elements. {[name: string]: boolean} {'data-grid-thumbnail-cell': true}

Source files

Extends Column: