items Array

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.

Example - items defined as array of strings

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

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

Example - items defined as array of objects

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

<script>
    $("#checkboxgroup").kendoCheckBoxGroup({
        items: [ {
            value: "one",
            label: "Label one"
        },{
            value: "two",
            label: "Label two"
        },{
            value: "three"
            label: "Label three"
        }],
    });
</script>
In this article
Not finding the help you need? Improve this article