All Apps and Add-ons

scrollable checkboxlist in splunk

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

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

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

SplunkTrust
SplunkTrust

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

0 Karma

Builder

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

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!