I used the Grid to create a report which shows at most 5 rows so I'd like to hide the Paging altogether. Does anyone know how to hide it?

enter image description here

Thank you for any help!



In your grid class add this in the constructor:

| improve this answer | |

For magento 2, try below in construct method.

protected function _construct()
    $this->setFilterVisibility(false); //Filter Visibility is disabled
    $this->setDefaultLimit(100); //Default Pagination is set 100
    $this->setPagerVisibility(false); //Pagination Visibility is disabled
| 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.