Print grid


#1

Hi,
How i can print my grid use window.print()?
because result of grid.PrintView() is not ok for my work.
Thaks


#2

Unfortunately it’s not available to print your grid directly.
You need to convert it to some printable view.
You may use the printView() method or export your grid to the excel or pdf and print the generated file:
docs.dhtmlx.com/grid__data_export.html


#3

How can I print the grid? I am using the HP Designjet T520 printer. Is there any direct option for printing the grid. I am using the window.print()? Is this is not enough for this?


#4

There is no any special api to send the grid to the printer.
Please, try to cal the myGrid.printView() to render your grid on the external page in the printable view and print that page.