I want to use your dashboard layout to make a webpage with different types of content on the right hand side.
(On the left hand side I have a tree view as navigation menu.)
So on one page I do have a grid, on the other I have a chart etc. All with different data.
Like you do it in your example
I know how to change the innerHTML of the sidebar-content element. This works when there is pure html content.
This would it make harder to use a modular design.