)
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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the position of the Link icon of the Single Card widget in Dashboard Viewer using CSS

Platform: Dashboard Platform |
Control: Dashboard SDK |
Published Date: May 15, 2018 |
Last Revised Date: May 7, 2019

Changing the position of the Link icon in single Card widget

By using CSS, you can change the position of the link or navigation icon of the single card widget. This icon denotes that the widget has linked with another dashboard/URL.

Refer to the user guides of Linking feature for the dashboard and how to show the Link (Or Navigation) icon in Dashboard Viewer for more details.

Refer to the following style tag to change the bottom and right values of the link icon, where the Dashboard Viewer is embedded using the Dashboard Platform SDK.

<style>   
 .e-control-singleCard{   
          height: 100% !important;   
      }   
 .e-dashboardviewer .e-dbrd-link-enable{   
          position: absolute;   
          bottom: 0px;   /* Set the position of the icon from Top */
          right: 0px;        /* Set the position of the icon from Right */   
    }       
 </style>

 

To override the above style tag in Dashboard Server, apply the above CSS in the index.cshtml file, which is available in the following location.

C:\Syncfusion\Dashboard Server\DashboardServer.Web\Views\FileRender\

 

The following image illustrates the link icon that is placed at bottom-right corner position of the single card widget instead of top-right corner (default).

A screenshot of a cell phone

Description generated with very high confidence

ADD COMMENT
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
Live Chat Icon