I am starting with Magento 2, I want to add a custom column in the Newsletter Subscribers grid.
So I overload the file: newsletter_subscriber_block.xml.
<block class="Magento\Backend\Block\Widget\Grid\Column" name="adminhtml.newslettrer.subscriber.grid.columnSet.SubscribedNewslettersLists" as="SubscribedNewslettersLists">
<arguments>
<argument name="header" xsi:type="string" translate="true">Subscribed Newsletters Lists</argument>
<argument name="filter" xsi:type="string"></argument>
<argument name="renderer" xsi:type="string">Ljr\ListTypesNewsletters\Block\Grid\Renderer\SubscribedNewslettersLists</argument>
</arguments>
</block>
I recover my data well and it's great with DataObject I want to cross data compared to the row.
But I would like to return an array, like for example the store view.
I tried to use the "options" argument instead of "render" but impossible to recover the DataObject.
I noticed that the form for Newsletter Subscribers grid they do not use UI compoment, so I have to proceed with an xml file?
Thank you in advance for your help