Choice Group

(part of package 'Bootstrap Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent

A choice group input component shows a group of checkboxes, each one for one of the values from a provided value list; it will have in it's attached dataprovider the selected values as a carriage return-separated string.

This is a reference page; many components have detailed usage guides here.

Properties

alignment

Type: string Default Value: "vertical"


dataProviderID

Type: dataprovider


enabled

Type: enabled Default Value: true


inputType

Type: string Default Value: "checkbox"


showAs

Option whether choice text is shown as plain text, sanitized html or trusted html (as is).

Type: string


styleClass

Set the styleclasses that should be applied at to this component

Type: styleclass Default Value: "checkbox"


tabSeq

Type: tabseq


toolTipText

Type: tagstring


valuelistID

Type: valuelist


visible

Whether the button is visible or not

Type: visible


Events

onActionMethodID(event)

Parameters:


onDataChangeMethodID(oldValue,newValue,event)

Handle changed data, return false if the value should not be accepted. JSEvent.data will contain extra information about dataproviderid, its scope and the scope id (record datasource or form/global variable scope)

Parameters:

Returns: {boolean}


onFocusGainedMethodID(event)

Parameters:


onFocusLostMethodID(event)

Parameters:


API

requestFocus(mustExecuteOnFocusGainedMethod)

Request the focus to this choicegroup.

Example:

myElement.requestFocus();

Parameters:

  • {boolean} [mustExecuteOnFocusGainedMethod] ** mustExecuteOnFocusGainedMethod (optional) if false will not execute the onFocusGained method; the default value is true



Last updated