I am working on a SAPUI5 application where a single page needs to display different tables dynamically based on user selection.
The page contains multiple Types, each Type has multiple Sub-Types, and each Sub-Type maps to a table. Some Sub-Types share the same table structure, while others require unique table layouts, resulting in around 12–15 different table variations overall. The expected behavior is that when a user selects a Type and then selects a Sub Type, the corresponding table for that specific Type and Sub-Type combination should be rendered, with only one table visible at a time. What is the recommended SAPUI5 design pattern for this scenario?