how can I hide the buttons “Reset Filter” and “Search” in a custom module grid ?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hide filter buttons only
To only hide “Reset filter” and “Search” buttons, but keep the header filter fields, you could override
Mage_Adminhtml_Block_Widget_Grid::getMainButtonsHtml()with:Hide filter buttons and header filter fields
If you want to hide the whole filter stuff, “Reset filter”, “Search” button and the header filter fields, you could use the
setFilterVisibility()method ofMage_Adminhtml_Block_Widget_Grid: