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

Parameters:

event JSEvent


onDataChangeMethodID

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:

oldValue ${dataproviderType} newValue ${dataproviderType} event JSEvent

Returns: boolean


onFocusGainedMethodID

Parameters:

event JSEvent


onFocusLostMethodID

Parameters:

event JSEvent


API

requestFocus

Request the focus to this choicegroup.

@example

myElement.requestFocus();

@param mustExecuteOnFocusGainedMethod (optional) if false will not execute the onFocusGained method; the default value is true

Parameters:

mustExecuteOnFocusGainedMethod boolean (optional)



Last updated