group String (default: undefined)

Specifies a group of ToggleButtons the current instance belongs to. The string will be rendered as a value of the data-group attribute of the widget's element.

Example

<button id="button1" type="button">Option 1</button>
<button id="button2" type="button">Option 2</button>
<script>
    $("#button1").kendoToggleButton({
        group: "myGroup"
    });
    $("#button2").kendoToggleButton({
        group: "myGroup"
    });
</script>
In this article