Use following example to create an advanced dashboard layout with collapsible sidebar, main content can be show inside grid layout.