--- title: "Define a Slider Control" slug: "define-a-slider-control" updated: 2026-02-20T17:15:42Z published: 2026-02-20T17:15:42Z canonical: "documentation.lakesidesoftware.com/define-a-slider-control" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.lakesidesoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Define a Slider Control The Slider Control block is used to specify a single value and pass this on to other objects. In the example shown below, a slider can be used to specify the minimum % Total CPU value to display in a grid. When the user slides the marker to a different value, the grid updates to use the new minimum. ![](https://cdn.document360.io/87d11426-6b1f-4b19-b593-b71e55a81af3/Images/Documentation/slider_example.png?sv=2026-02-06&spr=https&st=2026-11-08T16%3A44%3A47Z&se=2026-11-08T17%3A44%3A47Z&sr=c&sp=r&sig=RxmRL2lz3G0zCFMOGjc91rZavW9n2fbATNMmWe4TB3E%3D) The query uses a parameter, @{lowerCPU} for the minimum value. The value for this parameter is supplied by the Slider block and specified in the Input Bindings section of the query block. ## Setup the Slider Block 1. Start with a [Query block](/documentation/docs/define-a-query-data-block) and define it as necessary. 2. Drag the Slider block onto the workspace and connect it to a Query Data block. ![](https://cdn.document360.io/87d11426-6b1f-4b19-b593-b71e55a81af3/Images/Documentation/slider_select.png?sv=2026-02-06&spr=https&st=2026-11-08T16%3A44%3A47Z&se=2026-11-08T17%3A44%3A47Z&sr=c&sp=r&sig=RxmRL2lz3G0zCFMOGjc91rZavW9n2fbATNMmWe4TB3E%3D) 3. Specify the **Pane** in which to place the slider. 4. Optionally, provide some text in the **Prompt** field to display with the slider. 5. Specify the **Minimum** and **Maximum** slider values using either the fields in the **Input Bindings** or the manual settings. Settings in the **Input Bindings** will take precedence over manual entry. 6. Enter the **Initial value** for the slider. Select from the drop down list if you want this to be an **entered value**, or a **percent of max**. 7. Click the **Apply** button. 8. Select the Query Data Block. In the **Query** section specify the parameter *@{lowerCPU}*. Then click the **Apply** button to save your changes. 9. Open the **Input Bindings** section for the Query Data block. The parameter you just specified in the **Query** section, should now be available as a field (**lowerCPU**). In this field select the **.value** attribute from the drop-down list. (There could be more than one option depending on what parameters have been specified in the Query) ![](https://cdn.document360.io/87d11426-6b1f-4b19-b593-b71e55a81af3/Images/Documentation/slider_parameter.png?sv=2026-02-06&spr=https&st=2026-11-08T16%3A44%3A47Z&se=2026-11-08T17%3A44%3A47Z&sr=c&sp=r&sig=RxmRL2lz3G0zCFMOGjc91rZavW9n2fbATNMmWe4TB3E%3D) 10. In the example shown above, the query uses a parameter, for the minimum value. The value for this parameter is supplied by the Slider block. When you are done, click the **Apply** button.