how can I add custom csv customer export and export only email and customer group? I need put this code to the own module.

1 Answer 1


In default Magento 2 there is an option to export columns from grid view. You can enable only 2 columns - e-mail and customer group and hit export. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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