items.attributes Object
Collection of key-value pairs that would be used to generate the attributes attached to each k-radio-item
element.
Example
<ul id="radiogroup"></ul>
<script>
$("#radiogroup").kendoRadioGroup({
items: [{
value: "one",
label: "Label one",
attributes: {
"data-test": "custom"
}
},{
value: "two",
label: "Label two"
},{
value: "three",
label: "Label three"
}]
});
</script>