The viewer is using a special Kendo subset that contains only the required widgets and the DropDownList
widget is not part of the subset, additionally the viewer adds jQuery but this happens late in the
viewer initialisation. Thus add the following tags to the web page head element as shown in the
following code snippet:

If the predefined parameter types are not covering your scenario you can define a CustomParameterEditor.
Each custom editor requires two JavaScript functions provided as attributes: MatchFunction and CreateEditorFunction.

The customMatch method accepts a report parameter to be edited as an argument and returns a boolean value which indicates
whether the parameter editor is suitable for this parameter. The parameter variable exposes the properties of the report parameter like name,
allowNull, availableValues, multiValue, type and etc.

The main work for creating and utilizing the parameter editor is done in the createCustomEditor method.
Its purpose is to create the parameter editor UI and wire it to the parameterChanged callback when a new value is selected.
The return result is a new object containing the beginEdit method which is the entry point for creating the editor from the viewer.

The following example illustrates how to use the Kendo DropDownList widget for a
boolean single parameter value parameter editor which also has available values:

Was this article helpful?

/

Give article feedback

Tell us how we can improve this article

Code samples are inaccurate / outdated.
I expected to find other / more information.
There are typos / broken links / broken page elements.
Content is inaccurate / outdated.
Other
By checking this box you consent to Progress contacting you by email about your response on this page.

Community

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.