The Layout view is used in an HTML dashboard to manage the chrome and layout of the page:
Name | Default value | Description |
id | Required. The unique ID for this control. | |
hideAppBar | false | Hides the app bar. |
hideAppsList | false | Hides the app list in the Splunk bar. |
hideChrome | false | Renders only the main content, hiding the app bar, Splunk bar, and footer. |
hideFooter | false | Hides the footer. |
hideSplunkBar | false | Hides the Splunk bar. |
layout | "scrolling" | The type of page layout ( fixed | scrolling ). |
. . . // // SPLUNK LAYOUT // $('header').remove(); new LayoutView({ "hideAppBar": false, "hideAppsList": true, "hideChrome": false, "hideSplunkBar": false, "hideFooter": true, "layout": "fixed" }) .render() .getContainerElement() .appendChild($('.dashboard-body')[0]); . . .