17
Views
0
Comments
[html to pdf] Card downloading Issue in MobileApp
Question
html-to-pdf
Reactive icon
Forge asset by shehroze khan

Hello  , I'm using this forge component in mobile app to download the specific content...

It's working when I'm testing the  app in browser, but not working when testing the app in android...



In the download on click button  , The JS code like this 

var el =  document.getElementById($parameters.Element);

   

        // Convert the DOM element to a drawing using kendo.drawing.drawDOM

        kendo.drawing.drawDOM(el)

        .then(function(group) {

            // Render the result as a PDF file

            return kendo.drawing.exportPDF(group, {

                paperSize: "auto",

                margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" }

            });

        })

        .done(function(data) {

            // Save the PDF file

            kendo.saveAs({

                dataURI: data,

                fileName: "Harika .pdf",

                proxyURL: "https://demos.telerik.com/kendo-ui/service/export"

            });

        });


Screenshot (169).png
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.