jQWidgets Forums

jQuery UI Widgets Forums Grid Export to PDF.

This topic contains 11 replies, has 5 voices, and was last updated by  ruben 8 years, 10 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
  • Export to PDF. #74465

    HectorPuk
    Participant

    Hi folks,

    I am trying to solve a couple of problems with Export grid to PDF. $(“#jqxgrid”).jqxGrid(‘exportdata’, ‘pdf’, ‘MovilesConsolidadoPDF’);

    1.-I am trying to control PDF landscape/portrait printing is it possible?

    2.-When I print a Grid to PDF and the cell is blank I get ” ” it seems as if it were not interpreting HTML.

    Kind Regards.
    Hector.

    PS: Here is a sample of the PDF https://drive.google.com/file/d/0B34jJCOyjUnkMlM0QTV1eUZDU1k/view?usp=sharing

    Export to PDF. #74468

    HectorPuk
    Participant

    One aditional thing that I have noticed.

    When I try to export PDF and use my own server to manage the exported file It doesnt work. It does works for XLS but not PDF.

    $(“#jqxGrid”).jqxGrid(‘exportdata’, ‘pdf’, ‘MovilesConsolidadoPDF’, true, null, true, http://127.0.0.1/save-file.php);

    The returned address to the browser seems wierd. blob:http://127.0.0.1/19317fe3-3c6c-4fd3-90d3-b5e6b8757f08

    Regards.

    Export to PDF. #74477

    ivailo
    Participant

    Hi HectorPuk,

    You can control your printed PDF orientation via browsers setting.
    We can’t access your PDF sample in Google Drive. Can you explain better the problem with “ ”.
    To be sure that you are using the latest version of the widget, try to update to 3.8.1

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Export to PDF. #74519

    HectorPuk
    Participant

    Hi ivailo,

    I’ve just made the PDF file public. I think you can now access to it.

    The thing in quotes was a HTML NBSP (Now I have removed the ampersand sign). It seems WordPress here interpreted as HTML.

    What you mean control via browser?

    Regards.

    Hector

    Export to PDF. #74521

    ivailo
    Participant

    Hi HectorPuk,

    The PDF is still not visible.
    Thanks for the feedback about nbsp;. We will fix it in some of the next releases.
    The PDF export is not related to the server. Here is the demo about data printing. Here you can control the orientation of the printed document.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Export to PDF. #74549

    HectorPuk
    Participant

    Hi

    I have updated to 3.8.1, cleared cache, make sure all JQWidgets are 3.8.1 and all the same.

    This URL has the sample https://drive.google.com/file/d/0B34jJCOyjUnkMlM0QTV1eUZDU1k/view?usp=sharing it works in diferent computers.

    The proposal of rotate to Landspace when printing is NOT the same as use PDF rotated.

    I was watching source code and you are using this hardcoded in jqxdata.export.js so default is A4 and Portrait.

    !!!REMOVED DUE TO VIOLATION WITH COPYRIGHT!!!

    Regards.

    Export to PDF. #74572

    HectorPuk
    Participant

    Hi

    I see my post says “!!!REMOVED DUE TO VIOLATION WITH COPYRIGHT!!!” and that is humiliating. I have posted a line that is accesible in the minimized/obfuscated version and it was to ilustrate my point not to breach the content of the product.

    Could somebody explain to me or give me a how to ilustrate my point? But if you dont want to help me on this I will understand the lack of interest as a support style. I bought my license and I am not asking service for free; moreover I believe I am not clogging the forum with dumb questions.

    Regards.

    Export to PDF. #74574

    Peter Stoev
    Keymaster

    Hi HectorPuk,

    The posted code was from our sources and was not minimized/obfuscated. Any code which someone posts from our sources will be removed and is in violation with the license according to our EULA. This is not related to your Forum Question at all. In your future topics, please avoid posting our widget sources in our Forum or somewhere else. It also does not matter whether you have or you do not have a license. From your Forum account, I don’t know whether you have. If you have Support questions, you can write to support@jqwidgets.com. If you want help from Forum Users(not from our Support), then feel free to write in the Forum.

    Best Regards,
    Peter Stoev

    Export to PDF. #74589

    HectorPuk
    Participant

    Hi Peter.

    Understood. I will not post any code besides my code. There was no comment except that blunt notice, so I wouldn’t say it was merry, anyways, I have sent the request to support.

    Regards.

    Hector.

    Export to PDF. #82118

    deepak.gcpl
    Participant

    how to export grid with group into PDF .

    plz help

    export grid with
    – same as grid display
    – with group
    – with header /footer

    provide share some sample if any

    thanks
    deepak

    Export to PDF. #82138

    Peter Stoev
    Keymaster

    Hi Deepak,

    The Grid is always exported as Flat table.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Export to PDF. #85368

    ruben
    Participant

    hi,
    i have using the latest version 4.1.2
    but it can export data to pdf but other file can export
    why??
    could you explain that
    thank you.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.