Checkbox
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package '') Extends designtime/SolutionModel: Extends runtime:
This is a reference page; many components have detailed usage guides .
Checkbox is a standard input component that can have two states: checked and unchecked. Type:
Flag indicating whether the checkbox is enabled for user interaction. Type: Default Value: true
The value returned when the checkbox is checked (default is 1) Type:
Option whether checkbox text is shown as plain text, sanitized html or trusted html (as is). Type:
Click event. dataTarget parameter is used to identify inner html elements (by their data-target attribute)
Parameters:
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:
@param {JSEvent} event The event object containing details about the focus gained event (e.g. target element, timestamp)
Parameters:
@param {JSEvent} event The event object containing details about the focus lost event (e.g. target element, timestamp)
Parameters:
Request the focus to this checkbox.
Example:
Parameters:
Set the styleclasses that should be applied at to this component Type: Default Value: "checkbox"
Tab sequence order for keyboard navigation. Type:
The text label displayed next to the checkbox. Type: Default Value: "Checkbox"
Tooltip text displayed when hovering over the checkbox. Type:
Whether the button is visible or not Type:
{} event The event object containing details about the click event (e.g. target element, mouse coordinates)
{} dataTarget The identifier for inner html elements defined by their data-target attribute
{} oldValue The previous value from the data provider
{} newValue The new value to be set in the data provider
{} event The event object associated with the data change
Returns: {}
{} event
{} event
{} [mustExecuteOnFocusGainedMethod] If false will not execute the onFocusGained method; the default value is true