ToolBar and Grid in a Tabbar within a Window

I would like to know if it is possible to attach a toolbar and grid within a tab bar within a window. I have only seen attaching a single object(component) within the tab bar in the examples.However I would not be using Layout because of its limitations in certain criteria’s that I have seen.



Can you give me a sample snippet for the same?





You can attach a single HTML object to the tab, but inside that single HTML object - you can have few different containers, one of which can be used for toolbar initialization, another for grid initialization, so there is no technical limitation on count of components inside the single tab.
The only problem in such scenario is auto-sizing, while layout can resize all elements to fill space, in case of above approach - you will need to use fixed sizes for all elements.