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

Destroy

methods

Prepares the Gauge for safe removal from the DOM.

Detaches event handlers and removes data entries in order to avoid memory leaks.

<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
    pointer: {
        value: 30
    },
    scale: {
        min: 0,
        max: 50
    }
});

var gauge = $("#gauge").data("kendoLinearGauge");
gauge.destroy();
</script>
Not finding the help you need?
Contact Support