Remove Add New Button from admin

0
21
views
Advertisement

Hello all.

If you want to Remove “Add New” Button from Admin in a particular Module.
then go to block file of the module
in “__construct()” function
after parent::__construct(); statment
add this line – $this->removeButton(‘add’);

this will remove “Add New” Button from the grid…
Thanks All

— Mayank Zalavadia