_SF.ejCheckBox🔗 Syncfusion Checkbox widget

Constructor: [checked [label [labelpos [tristate]]]]

checked – integer denoting if the box is checked or not (1=yes, 0=no, ¯1=indeterminate)

label – string of text to appear next to the button

labelpos – position of label relative to the checkbox ('left' (default) or 'right')

tristate – Boolean indicating whether the checkbox allows 3 states ('indeterminate' 'false' (default) or 'true')

Public Fields:

Label – string of text to appear next to the checkbox

LabelPos – position of label relative to the checkbox ('left' (default) or 'right')

TriState – Boolean indicating whether the checkbox allows 3 states ('indeterminate' 'false' (default) or 'true')

Notes:

If Checked is ¯1, TriState is automatically set to _true

Examples:

ejCheckBox ⍝ plain checkbox

ejCheckBox ¯1 ⍝ a tri-state checkbox set to indeterminate

ejCheckBox 0 'Married' ⍝ a checkbox with label 'Married' to the left

ejCheckBox 1 'with children' 'right' ⍝ a checkbox with label 'with children' to the right

Relevant Sample Pages:

Controls used on this page: Dyalog: Tabs Base HTML: style