Parameter Chooser

The table below describes information concerning the parameter chooser its properties.

The parameter chooser displays all the parameters along with their attributes such as Name, Value, and Formula (if associated).

This page discusses:

Layout Design

A parameter chooser lets you select objects inside of a proposed items list.

File Name Description
Filtered Type -
Is Enabled Defines whether the component is enabled.
Is Shown Specifies whether the component is visible.
AttachedToBottom Specifies whether the component is attached to the bottom side of the grid.
AttachedToleft Specifies whether the component is attached to the left side of the grid.
AttachedToRight Specifies whether the component is attached to the right side of the grid.
AttachedToTop Specifies whether the component is attached to the top of the grid.
ConstantHeight Specifies whether the component has a constant height.
ConstantWidth Specifies whether the component has a constant width.
Title The title corresponds to the title or to the text content of the component.

Knowledge Items

The table below describes the Knowledge Items for the parameter chooser.

Items Description
Visibility Comment display.
Sensitivity Activation of the component (react to user interactions or not).
ChosenItems List of selected items. Dynamically add or remove elements with the language changes in the selection.
SelectedIndices List of indexes of the selected items. Dynamically adding or removing indices with EKL changes the selection.
ProposedItems List of items to retrieve parameters under it. Dynamically adding or removing items with EKL changes the content of the list.
TypeRestriction String that displays only the elements of a given type.
Height Height of the component in pixels.
Width Width of the component in pixels.
PresentedAttributes Names of parameter attributes to be displayed in columns separated by commas. For example: Name, Value, Formula.
ColumnsWidth Attribute to define the default width value for columns of a parameter chooser. If the value is -1, the width is automatically computed.
DisplayShortNames A Boolean attribute to display either a short name or a long name as a full path.
ValueEditability A Boolean value to specify the editability of the Value column. If true, the cells in the Value column are editable. If False, the cells in the Value column are not editable.

Events

Events on Parameter Chooser Description
ParameterChosen Adds an action to execute each time a cell is selected.
ParameterValueEdited Adds an action to execute each time the parameter value from a selected cell in the Value column is edited.
Editing Parameter Values

End-users can edit cell values under the Value column of Parameter Chooser in a custom app by right-clicking the cell to be edited.

Expert-users can define whether Value columns can be edited or not and also can specify a particular behavior upon editing.

Note: It is impossible to edit a parameter value from the Value column of the Parameter Chooser if the associated parameter is read-only or if the parameter value is governed by a formula.
Renaming Columns
If you want to rename one or more columns, add a CATNls file with the parameter chooser name to the resource container of the know-how apps component. The new column names must be entered as follows: Original_Name="New_Name". The original names are those you can find in the Presented Attributes attribute (separated by commas) of the Parameter Chooser. Use Import Files to add this file to the component. In the example below, the CATNls file name is ParameterChooser1.CATNls. With entry as Name = "Param_Name", the parameter chooser display is displayed as follows at runtime: