select
Fires when a checkbox input is clicked to be selected through user interaction. If prevented, the clicked input will not be checked/unchecked.
Event Data
e.sender kendo.ui.CheckBoxGroup
The widget instance which fired the event.
e.preventDefault Function
If invoked prevents the input select action. The widget will retain the previously selected value (if any).
e.target jQuery
The <input type="checkbox">
element that triggered the event.
Example - handling the select event
<ul id="checkboxgroup"></ul>
<script>
$("#checkboxgroup").kendoCheckBoxGroup({
items: [ "one", "two", "three" ],
select: function (e) {
if(e.target.val() === "two") {
// Prevent selection if clicking on the "two" checkbox
e.preventDefault();
}
}
});
</script>