New to Kendo UI for jQuery? Start a free 30-day trial

Label

configuration

The Rating displays a label by default that shows the current value out of the max value 3 / 5. If the widget does not have a selected value, the label will not be displayed initially and will be toggled after an item is selected.

If label is set to false, the widget will not display the label.

label

Boolean|Object

Default: true

<input id="rating" />

<script>
    $("#rating").kendoRating({
        label: false
    });
</script>

label.template

String|Function

The template for the label.

Parameters:valueNumber

The current value of the widget.

maxValueNumber

The max value of the widget.

Specifies the template which is used for rendering the label.

<input id="rating" />

<script>
    $("#rating").kendoRating({
        label: { template: "<span>#=value# / #=maxValue# selected.</span>"  }
    });
</script>
In this article
labellabel.template
Not finding the help you need?
Contact Support