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

Readonly

methods

Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.

Parameters:readonlyBoolean

If set to true, the widget will not allow user input. If set to false, the widget will allow user input.

<div id="signature"></div>
<script>
    $("#signature").kendoSignature({
        readonly: true
    });
    var signature = $("#signature").data("kendoSignature");
    signature.readonly(false);
</script>
<div id="signature"></div>
<script>
    $("#signature").kendoSignature();
    var signature = $("#signature").data("kendoSignature");
    signature.readonly(true);
</script>
Not finding the help you need?
Contact Support