cancel
Showing results for 
Search instead for 
Did you mean: 

popup is not displayed in in magento2 admin grid

popup is not displayed in in magento2 admin grid

I'm a beginner on Magento and I'm stuck at the pop-up level, so I did the add action button and it works fine

  <actionsColumn name="actions" class="Managys\Pricing\Ui\Component\Listing\Column\ProductActions">
        <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="resizeEnabled" xsi:type="boolean">false</item>
                <item name="resizeDefaultWidth" xsi:type="string">107</item>
                <item name="indexField" xsi:type="string">entity_id</item>
            </item>
        </argument>
    </actionsColumn>

but I have to change that part to open a pop -up to choose a category. I followed this tutorial but unfortunately the pop-up is not displayed: https://webkul.com/blog/how-to-add-a-custom-button-in-magento2-admin-grid/

<actionsColumn name="actions" class="Managys\Pricing\Ui\Component\Listing\Column\Sendmail">
        <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="component" xsi:type="string">Managys_Pricing/js/grid/columns/sendmail</item>
                <item name="resizeEnabled" xsi:type="boolean">false</item>
                <item name="resizeDefaultWidth" xsi:type="string">107</item>
                <item name="indexField" xsi:type="string">entity_id</item>
                <item name="sortable" xsi:type="boolean">false</item>
                <item name="label" xsi:type="string" translate="true">Send Mail</item>
                <item name="sortOrder" xsi:type="number">13</item>
            </item>
        </argument>
    </actionsColumn>

is there another method? and thank you in advance