0

I've created a Magento 2 extension containing two custom grids. The first reads directly from a custom table in the database. I want the second to display data retrieved with a specific query using other tables. Is this possible?

Can a custom grid be populated with data from a query instead of reading data from it's "mainTable?"

  • Do you use UI grid or normal grid? – Prince Patel Oct 4 '17 at 5:28
  • @PrincePatel, I guess I'm not sure. I didn't know there were different types of grids in Magento 2. I'm trying to create a grid just like the product grid, except it will be populated with data from other tables. – Joseph Hovik Oct 6 '17 at 14:55

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.