I have created a custom tab in customer view and loaded grid inside the admin using below link successfully with filter tabs in the grid.


But I find an error while filtering on custom data table as I used join query in the collection. Does anyone know how to make filter working for the custom table?

  • Please share your code. Oct 1, 2018 at 10:16
  • It's exactly the same as above link. I just removed "$this->setFilterVisibility(false);" from above code.
    – Pribhav
    Oct 1, 2018 at 10:23
  • Share screen shot where you getting that error Oct 1, 2018 at 10:56

1 Answer 1


After some research in default modules, I came to know that I was missing just one line


I hope it helps to someone.

  • where to add this line?
    – Ali Raza
    Sep 4, 2020 at 10:45
  • 1
    @AliRaza Add it in function _construct in admin GRID block which extends \Magento\Backend\Block\Widget\Grid\Extended class
    – Pribhav
    Sep 4, 2020 at 11:36

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.