I have added Export button on UI grid in my custom module. Module is create with EAV structure. But when i try to export in CSV only ID Column's data is export, Other column's data are missing.

I have added code for export button on Grid in listing file.


<exportButton name="export_button">
    <argument name="data" xsi:type="array">
        <item name="config" xsi:type="array">
            <item name="selectProvider" xsi:type="string">demo_templatetext_templatetext_listing.demo_templatetext_templatetext_listing.demo_templatetext_templatetext_columns.ids</item>

I'm using eav structure for my custom module & csv exported only one column

enter image description here

Can anybody help me to solved this issue? Thanks.

  • have you tried only "<exportButton name="export_button"/>" instead of above code ? – Mukesh Prajapati Mar 8 '19 at 6:39
  • Yes. I have also tried <exportButtton... But it's not worked for me, So i have added export button using above code. Export functionality is working properly. But in CSV only ID's data are export. Other column's data are missing. Because my module is created using EAV flow. – Emipro Technologies Pvt. Ltd. Mar 8 '19 at 7:06

Your Answer

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

Browse other questions tagged or ask your own question.