Info | ||
---|---|---|
| ||
DBE – DynSelect Business Entity FBE – Form Business Entity GBE – Grid Business Entity |
In Grid, all the attributes are coming as part of ‘datagridcol2’. ‘Datagridcol2’ has a ‘dynSelect’ attribute, which will be an object. And this object contains all the other attributes specific for dynSelect. (e.g: opt.dynSelect.entityName, opt.dynSelect.lookupKeyField)
Attribute | Description | Type | Availability |
entityName | entityName | String | Both |
entityTable | entityTable | String | Both |
lookupKeyValueColumn | Form - Defines which field in the DBE is the GUID or code field Grid – Defines the DBE field used for filter | String | Both |
lookupKeyValueBinding | Form - The field in the Form (or FBE) in which the value of the field defined by ’lookupKeyValueColumn’ will be saved Grid – The field from the GBE which will be used for displaying data in Grid rows. | String | Form |
lookupKeyField | The name of the field from the DBE, which will be displayed in the DynSelect (e.g. when selecting a record). Can also be a comma-separated list of fields and constants | String | Both |
lookupFields | Comma-separated list of fields from the DBE which will be used as description-fields | String | Form |
lookupControls | Comma-separated list of fields, with form-fields, in which the values of the fields defined by ’lookupFields ’ will be displayed (1:1 Mapping to ‘lookupFields’) | String | Form |
template | Name of the handlebars template used when displaying the results list. Possible values are:
| String | Both |
templateOptions | Pipe-delimited list (img|key|desc) specifying the fields displayed in the results list The key and desc can also be a comma-separated list of fields and constants | String | Both |
multiple | Allows selection of multiple values. When selecting multiple options, all of them will be saved as a separated list (see multiDelimiter) in the BE fields defined in attributes. | Boolean | Both |
multiDelimiter | Specifies the delimiter used for multiple selections. Has to match the delimiter used on the backend. | String | Both |
multipleBehaviour | Specifies in which cases the multiple attribute will be applied. Possible values are:
| String | Grid |
maximumSelectionLength | Maximum number of items that can be selected (only when ‘multiple’ is true) | Integer | Both |
minimumInputLength | Minimum characters that need to be typed to start searching | Integer | Both |
placeholder | A value displayed in the input until a selection is made | String | Both |
allowClear | A clear button to remove all the selected option/s. It only works when the placeholder is specified | Boolean | Both |
closeOnSelect | Specifies if the dropdown should be closed/or not after a selection is made | Boolean | Both |
tags | Allows the creation of new values that don’t exist in the results list | Boolean | Both |
tokenSeparators | Pipe-delimited list -> e.g ‘tokenSeparators’: ‘,| ‘ When user is typing and wants to choose an item he can use either ‘,’ or ‘ ‘ to select that item, and then can keep searching for another item. It will allow a faster selection of items. Available only when ‘multiple’ is true | String | Both |
resultListMenuCode | Contains the name of a menuStructure that will be displayed at the end of the results list | String | Form |
validation | Validation in form | String | Form |
initialFetch | When the dropdown is opened for the first time, the results list will contain only the values that match this attribute | String | Both |
onBeforeFetch | Event with code executed before fetching | String | Both |
validateEvent | Event with code executed whenever an option has been selected | String | Both |
focusEvent | Event with code executed when the results list is opened | String | Form |
defaultActionEvent | Event with code executed on Ctrl-Enter on dynSelect | String | Form |
lookupDialog | Screen name - opens a window/dialog for selecting a record. Shortcut used: Alt-L | String | Form |
extHdl | Only used when ‘lookupDialog’ is set. Specifies the field used as a Hdl after selecting a record | String | Form |
extKey | Only used when ‘lookupDialog’ is set. Specifies the field used as a Key after selecting a record | String | Form |
extDesc | Only used when ‘lookupDialog’ is set. Specifies the field used as a Desc after selecting a record | String | Form |