All Apps and Add-ons

Is there a way to remove the split window resize frame in dashboards?

jravida
Communicator

Hi folks,

I've been putting together dashboards, and in each there is a horizontal bar used to resize the dashboard, up or down. Since my potential audience will find a way to break everything, or complain about something, I just want to remove it. Is there anything in the XML I should remove or add to get rid of this?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

I don't know a "proper" way to remove that bar through settings within SimpleXML... but you can make it disappear with CSS.

Create a file $SPLUNK_HOME/etc/apps/your_app/appserver/static/no_resize.css with this content:

.dashboard-row .dashboard-panel .ui-resizable-handle{
  display: none !important;
}

Refer to the file from your dashboard(s) by setting stylesheet="no_resize.css" in the <dashboard> or <form> tag. This way it'll only affect dashboards you choose to have no resizing handles... if you want some panels to be resizeable but not others within the same dashboard it'll be more tricky, but should be possible as well if a bit silly.

proylea
Contributor

You can also get rid of the rest of that ugly grey panel footer with this

.dashboard-row .dashboard-panel .dashboard-element .panel-footer {
display: none;
}

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...