Documentation
Getting Started
jqxCheckBoxGroup represents a widget which displays a group of checkboxes and has API to customize them.Every UI widget from jQWidgets toolkit needs its JavaScript files to be included in order to work properly.
The first step is to create html page and add links to the JavaScript files and CSS dependencies to your project. The jqxCheckBoxGroup widget requires the following files:
<head><link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css"/><script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script><script type="text/javascript" src="../../jqwidgets/jqxcheckbox.js"></script><script type="text/javascript" src="../../jqwidgets/jqxcheckboxgroup.js"></script><script async src="https://www.googletagmanager.com/gtag/js?id=G-2FX5PV9DNT"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'G-2FX5PV9DNT');</script></head>
The next step is to create html element within the body of the html document.
<div id='jqxRadioButtonGroup'></div>
The last step is to initialize the widget by adding the following script to the html document:
<script type="text/javascript"> window.onload = () => { const jqxCheckBoxGroup = new jqxCheckBoxGroup("#jqxCheckBoxGroup", { value: 'example' }); }</script>
To call a function (method), you need to pass the method name and parameters (if any) in the jqxCheckBoxGroup's constructor.
$("#jqxCheckBoxGroup").jqxCheckBoxGroup('value');
var value = $("#jqxCheckBoxGroup").jqxCheckBoxGroup('value');