Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
279
Padding for Print?
posted

Hi, I wan to know, if there is a way, to get a whole UltraWebGrid to be printed, I'm loading one with 150 lines and I'm using window.print() Javascript funtion to get it print, but the result is only one page that is cutted in 56 lines, the rest of the grid is not printed.

Is there a way, any!, to print grids that display a lot of lines, like mine of 150 lines?

Parents
  • 45049
    Verified Answer
    posted

    To set up WebGrid to print its entire contents, use the grid's printing friendly functionailty.  This is done by setting the grid's DisplayLayout.ReadOnly property to PrintingFriendly (Infragistics.WebUI.UltraWebGrid.ReadOnly.PrintingFriendly).

    Note that turning on this functionality makes the grid entirely passive, since it requires disabling its JavaScript functionality.  It also removes the ability for the grid to scroll independently of the browser, which is what's cutting off rows on the printout.  You'll likely want either a separate page, or an option on your current page enabled with either a button click or a query string, to provide a "printer friendly" view.

Reply Children
No Data