_view->loadLayout(); $grid = $this->_view->getLayout()->createBlock( \Magento\Newsletter\Block\Adminhtml\Template\Grid::class )->toHtml(); $this->getResponse()->setBody($grid); } }