2

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.

http://www.ibnab.com/en/blog/magento-2/magento-2-backend-create-custom-tab-in-customer-view-and-load-grid-inside-admin

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. – Anshu Mishra Oct 1 '18 at 10:16
  • It's exactly the same as above link. I just removed "$this->setFilterVisibility(false);" from above code. – Pribhav Oct 1 '18 at 10:23
  • Share screen shot where you getting that error – Dharmendra Jadav Oct 1 '18 at 10:56
1

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

$this->setUseAjax(true);

I hope it helps to someone.

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.