Hello, currently we want to create a model driven app, we have two entities, Product and Category. The Category entity has a field called ParentID which lookup to itself. So we can have a group of smaller categories belong to a big category. For example:

Then we have a Product entity with basic entity, and have a relationship Many-to-Many with Category. We want to build a model driven app that looks like this:

Where on the left, we have a navigation which is loaded from the Category entity, it will list all the parent categories first, when you click one it can expand to show the children categories. When you select any of them, it will show the product related to that category. Is there a way to implement this design for model driven ? Thank you.
Best Regards,
Minh Pham