Magento 2 Render Image In Admin Grids
Magento 2 Render Image In Admin Grids. Below is code which you can use to get solution. add a grid column with renderer block name as parameter. $this->addColumn( 'image', array( 'header' => __('Image'), 'index' => 'image', 'renderer' => '\YourVendor\YourModule\Block\Adminhtml\Testing\Grid\Renderer\Image', ) ); Then, we have to create renderer block as below. namespace YourVendor\YourModule\Block\Adminhtml\Testing\Grid\Renderer; use Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer; use […]