New to Kendo UI for jQueryStart a free 30-day trial

Items

configuration

Array of items to be rendered as checkboxes in the CheckBoxGroup. If the array contains objects, their fields will be used for each checkbox configuration. If the array contains strings, those will be used as both value and label of the respective checkbox.

items

Array
<ul id="checkboxgroup"></ul>

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [ "one", "two", "three" ]
    });
</script>
<ul id="checkboxgroup"></ul>

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [{
            value: "one",
            label: "Label one"
        },{
            value: "two",
            label: "Label two"
        },{
            value: "three",
            label: "Label three"
        }]
    });
</script>

Collection of key-value pairs that would be used to generate the attributes attached to each k-checkbox-item element.

<ul id="checkboxgroup"></ul>

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [{
            value: "one",
            label: "Label one",
            attributes: {
                "data-test": "custom"
            }
        },{
            value: "two",
            label: "Label two"
        },{
            value: "three",
            label: "Label three"
        }]
    });
</script>

Any custom classes that should be attached to the k-checkbox-item element.

<ul id="checkboxgroup"></ul>

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [{
            value: "one",
            label: "Label one",
            cssClass: "custom-class"
        },{
            value: "two",
            label: "Label two"
        },{
            value: "three",
            label: "Label three"
        }]
    });
</script>

Defines whether the checkbox is enabled or not. By default all checkboxes are enabled.

Default: true

<ul id="checkboxgroup"></ul>

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [{
            value: "one",
            label: "Label one",
            enabled: false
        },{
            value: "two",
            label: "Label two"
        },{
            value: "three",
            label: "Label three"
        }]
    });
</script>

Determines whether the checkbox label content should be rendered as an HTML string or it should be encoded.

Default: true

<ul id="checkboxgroup"></ul>

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [{
            value: "one",
            label: "<strong>Label one</strong>",
            encoded: false
        },{
            value: "two",
            label: "Label two"
        },{
            value: "three",
            label: "Label three"
        }],
    });
</script>

Specifies the label content for the checkbox.

<ul id="checkboxgroup"></ul>

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [{
            value: "one",
            label: "<strong>Label one</strong>"
        },{
            value: "two",
            label: "Label two"
        },{
            value: "three",
            label: "Label three"
        }]
    });
</script>

Specifies the value for the checkbox.

<ul id="checkboxgroup"></ul>

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [{
            value: "one",
            label: "<strong>Label one</strong>"
        },{
            value: "two",
            label: "Label two"
        },{
            value: "three",
            label: "Label three"
        }]
    });
</script>