enable

Enable/Disable the RangeSlider widget.

Example

<div id="rangeslider" style="width: 200px;">
    <input />
    <input />
</div>
<script>
    $(document).ready(function() {
        $("#rangeslider").kendoRangeSlider();
        var rangeSlider = $("#rangeslider").getKendoRangeSlider();

        var rangeSlider = $("#rangeslider").data("kendoRangeSlider");

        // disables the range slider
        rangeSlider.enable(false);

        // enables the range slider
        rangeSlider.enable(true);
    });
</script>

Parameters

enable Boolean

The argument, which defines whether to enable/disable the RangeSlider.

In this article
Not finding the help you need?