最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

magento2 - Magento 2, export custom grid rows. only filtered rows - Stack Overflow

programmeradmin4浏览0评论

I can't make grid exports only filtered rows.

view/adminhtml/ui_component/grid_listing.xml:


<listingToolbar name="listing_top">
    <exportButton name="export_button">
        <settings>
            <options>
                <option name="csv" xsi:type="array">
                    <item name="url" xsi:type="string">ExportControlled/Path</item>
                </option>
            </options>
        </settings>
    </exportButton>
</listingToolbar>

when I press export, the request's URI is empty and contains no filters, so I can't apply the filter in the data provider.

https://localhost/admin/ExportControlled/Path/?

what I'm missing?

发布评论

评论列表(0)

  1. 暂无评论