New to Kendo UI for jQueryStart a free 30-day trial

Disabling Hyperlinks

Updated on Sep 8, 2026

By default, the drawDOM method creates clickable hyperlinks in the generated PDF document.

You can disable this behavior with the avoidLinks option.

Example
View Source
    <div id="content">
        This is <a href="https://www.telerik.com">a non-clickable link</a>.
    </div>
    <script>
        var draw = kendo.drawing;

        draw.drawDOM($("#content"), {
            avoidLinks: true,
            paperSize: "A4"
        })
        .then(function(root) {
            return draw.exportPDF(root);
        })
        .done(function(data) {
            kendo.saveAs({
                dataURI: data,
                fileName: "avoid-links.pdf"
            });
        });
    </script>

See Also

In this article
See Also
Not finding the help you need?
Contact Support