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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...