I want to remove actionsColumn, massaction and status fields of product grid if my custom configuration set to yes.

In magento 2 product grid is generated by \vendor\magento\module-catalog\view\adminhtml\ui_component\product_listing.xml how can I achieve this.

  • Override the Magento_catalog module
    – Ramki
    Feb 24, 2017 at 12:20
  • @Ramki how can i remove content of product_listing.xml conditionally even after rewriting? Feb 24, 2017 at 12:31

1 Answer 1


I don't know if it is a right way to achieve this or not, I doesn't found any solution to achieve this. For now I am trying with following.

created one observer and check my condition if it satisfying the condition then I am redirecting to new url where I am creating new layout and grid by new ui component.

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.