New to Kendo UI for jQuery? Start a free 30-day trial
Selection
Updated over 6 months ago
The Rating allows you to control the selection of its items.
To configure the selection option, use either of the following settings:
continuous—Allows the selection of all items from the start to the end.single—Allows the selection of a single item.
Continuous Selection
The continuous selection is the default selection mode of the Rating. If not configured, the Rating will automatically set the selection option to "continuous".
<input id="rating" name="rating">
<script>
$(document).ready(function() {
$("#rating").kendoRating({
selection: "continuous"
});
});
</script>
Single Selection
To configure the single selection mode, set the selection option to "single".
<input id="rating" name="rating">
<script>
$(document).ready(function() {
$("#rating").kendoRating({
selection: "single"
});
});
</script>