Use ComboBox

<< Click to Display Table of Contents >>

Current:  Create Dashboard > Filter Data 

Use ComboBox

Previous pageReturn to chapter overviewNext page

The parameter component is an input object whose role is to assign values to parameters. Parameter components include Text Parameter, ComboBox, and ListBox.

The parameter component's name attribute is more critical and represents a parameter name. For example, give a parameter component a name and BeiJing. It is equivalent to defining a parameter of a=BeiJing. Parameter a can be used when adding filters to output components (eg charts, tables, pivot, texts, and gauges). For example, adding a filter condition of “city=?{a}” to the city field indicates that the data city=BeiJing is filtered out. As the user enters different values, different results are filtered out.

ComboBox components are parameter components that provide options in the form of drop-down tables. By binding arbitrary fields of any query, this component can provide options for parameters. The result of the ComboBox selection can only be a single choice.

This chapter mainly introduces how to create Combobox parameters, how to define attributes, how to bind data, and various interactive functions.