Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest 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:

Updated