<< Click to Display Table of Contents >> Use Listbox |
The parameter component is an input object whose role is to assign values to parameters. Parameter components include ListBox, ComboBox components, and Text Parameter.
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.
The list parameter component is a list component that provides radio selection or check. You can provide options for parameters by binding any field of any query or manually entering data.
This chapter mainly introduces how to create Listbox components, how to define properties, how to bind data, and various interactive functions.