All Apps and Add-ons

scrollable checkboxlist in splunk

royimad
Builder

I need an example of how to implement a Scrollable box containing a list of Checkboxes in splunk since including the list of checkboxes in a panel is filling more than half of the screen.
Note that I'm using sideview module.
Thanks,

1 Solution

sideview
SplunkTrust
SplunkTrust

Add this param to your Checkboxes module:

<param name="cssClass">scrollableCheckboxes</param>

and add this to application.css:

.scrollableCheckboxes {
    height:50px;
    overflow-y:scroll;
    border:1px solid #ccc;
}

The classname is completely arbitrary - the only important thing is that they match, and that it's not likely a class that already exists in the system. eg: never use a common word like "Table", or "dashboardContent" or some humorously evil things would happen to your page.

Now that the answer's out of the way though, are you sure you wouldn't rather use a multiselect Pulldown?

Or you can test-drive the new "chosen" Pulldown style.

Make your Checkboxes into a multiselect Pulldown and then throw
<param name="mode">advanced</param> into it.

It gives you typeahead into the set of options, the control only takes up space for the options that are selected, and so this might be a better tool for you here than the Checkboxes module.

View solution in original post

sideview
SplunkTrust
SplunkTrust

Add this param to your Checkboxes module:

<param name="cssClass">scrollableCheckboxes</param>

and add this to application.css:

.scrollableCheckboxes {
    height:50px;
    overflow-y:scroll;
    border:1px solid #ccc;
}

The classname is completely arbitrary - the only important thing is that they match, and that it's not likely a class that already exists in the system. eg: never use a common word like "Table", or "dashboardContent" or some humorously evil things would happen to your page.

Now that the answer's out of the way though, are you sure you wouldn't rather use a multiselect Pulldown?

Or you can test-drive the new "chosen" Pulldown style.

Make your Checkboxes into a multiselect Pulldown and then throw
<param name="mode">advanced</param> into it.

It gives you typeahead into the set of options, the control only takes up space for the options that are selected, and so this might be a better tool for you here than the Checkboxes module.

sideview
SplunkTrust
SplunkTrust

Originally released 2.6.3, with some fixes and tweaks since then.

0 Karma

royimad
Builder

Regarding the pulldown advanced mode module is that on the new release of sideview ?

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...