andrewtheart

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: Printing a jqGrid (again) #95419
    andrewtheart
    Participant

    Did you try setting the media to “print” dynamically before printing?

    When I printed, when the media for the jqGrid CSS include was set to “screen”, the jqGrid did not print –

    Then, I changed the media to “print” before printing (window.print()) and it printed fine –

    document.getElementById(“jqgrid_stylesheet”).media = “print”;

    window.print();

    After printing, I changed the media back to “screen” –

    document.getElementById(“jqgrid_stylesheet”).media = “print”;

Viewing 1 replies (of 1 total)

Stay connected with us in your favorite flavor!