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.

View solution in original post

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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!