Edit this page

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.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy