0

I have created grid using ui component.

  <container name="page_listing_top">
    <exportButton name="export_button">
        <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="selectProvider" xsi:type="string">sales_report_report_listing.sales_report_report_listing_columns.ids</item>
            </item>
        </argument>
    </exportButton>
</container>
  • While exporting report ? and which version of magento2 ? – Keyur Shah Jan 13 '18 at 18:49
  • @KeyurShah - magento 2.1.7 – jassi Jan 13 '18 at 18:53
  • Could you please add your step when you are facing this error? @jassi – Keyur Shah Jan 13 '18 at 19:00
  • @KeyurShah Thank u. I got solution by adding below posted answer after dataSource element. – jassi Jan 14 '18 at 5:36
0
 <listingToolbar name="listing_top">
    <exportButton name="export_button"/>
</listingToolbar>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.