I want to override the grid of customer to delete some columns from and add others so how to proceed. I overrided the customer_listing.xml but no result


Try adding sequence to your module.xml if your overriding is not working.

      <module name="Magento_Customer" />

In your overrided file, you can specify the column visibility to either true or false (to hide and show the columns). However manually setting the column visibility in admin grid will take more priority.

  • i want to export the list with the colunm that i want so if i set manually the colunm visisbility they will appear in the file.csv Nov 14 '18 at 8:08
  • no result even added the sequence Nov 14 '18 at 8:18
  • If your objective is to show only the visible columns in export CSV, it seems this feature is not available in magento 2 right now. github.com/magento/magento2/issues/3079
    – mydons
    Nov 15 '18 at 11:06
  • so do i have to delete some attributes from customer entity ?? Nov 15 '18 at 13:02
  • No thats not a good idea
    – mydons
    Nov 16 '18 at 6:13

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.