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: String


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] if false will not execute the onFocusGained method; the default value is true



Last updated

Was this helpful?