Redeem Now
Read More
Read now
Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    Adding Custom Mass Action In Admin Grid In Magento 2

    In this post we will see how to add custom mass action in grid. Following this post we can add Mass Action to any grid.

    Customers Grid in Magento 2 is made by using ui_component. We will extend the customer  ui_component file customer_listing.xml file in our module to add custom mass action.

    Create file customer_listing.xml in /app/code/your_namespace/your_moduleName/view/adminhtml/ui_component/

    In this file create mass action as below:

    Now, when you will see the Customer Grid then you can find Custom Action has been added to drop down.

    That’s it for this post. Thanks 🙂

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


  • Andresa
    Where is the controller to perform the mass action?
  • Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again