I am trying to add a product Grid in My custom Module

I searched a internet and found this Solution

Magento 2 : How to add product grid in custom module's tab

Now there is a function in this example names as SetInProducts, i m getting error

Call to a member function setInProducts() on Boolean

I searched in Whole Module to found Definition of this function but haven't got any solution if anyone have a better solution please Guide me


I am using Block to create the admin form

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.