I am extending the \Magento\Backend\Block\Widget\Grid\Container with my block, and I want to remove the button for adding new instances of this model ("MODEL"). How can I do that?

1 Answer 1


Call removeButton('add') from the _construct method of your Adminhtml Block file ...


namespace YourSpace\YourModule\Block\Adminhtml;

protected function _construct()




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.