We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide the title banner in DashboardViewer in a programmatic way

Platform: Dashboard Platform |
Control: Dashboard SDK

Hiding banner title in DashboardViewer

Override the style as shown in the following code snippet in the Dashboard “index.html” file:


Code snippet:   


<!DOCTYPE html>   
<html xmlns="https://www.w3.org/1999/xhtml/" style="width:100%; height:100%;">   
        body html {   
            width: 100%;   
            height: 100%;   
                    display : none !important;   
                   height : 0px !important;   
    <title>Dashboard Viewer</title>   
   <meta name="viewport" content="width=device-width, initial-scale=1.0">   
<body style="width: 100%;height: 100%">   
<script type="text/javascript">   
    $(function (e) {   
        var url = "Dashboard Service URL";   
        var filePath = "File path of the Dashboard, which is accessible at give Dashboard Service URL";   
            serviceUrl: url,   
            dashboardPath: filePath
<div id="dashboard" style="width: 100%; height: 100%" ></div>   




The following screenshot illustrates when the tittle bar has been hidden in the Dashboard Viewer:

A screenshot of a cell phone

Description generated with very high confidence



By overriding the banner style, you can also hide the filter overview, export, and refresh options of the dashboard.


You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile