How can i remove add new button from my custom module? I follow below link but the button did not remove -> http://blog.chapagain.com.np/magento-how-to-remove-or-rename-add-new-button-from-admin-grid/

protected function _construct()
    $this->_addButtonLabel = __('Custom Name'); // to change the add new button value 
    $this->buttonList->remove('add'); //to remove add button
    $this->buttonList->remove('save'); //to remove save button
    $this->buttonList->remove('reset'); //to remove reset button
    $this->buttonList->remove('delete'); // to remove delete button
| improve this answer | |

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.