items.attributes Object

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

Example

<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>
In this article
Not finding the help you need? Improve this article