Hi,friends,i meets a problem that how to make to print the grid’s data,i have readed the API for printing,and not found some idea,could you give me suggest? thanx!
You can use printView() mehtod to generate print friendly view. Please check example here dhtmlx.com/dhxdocs/doku.php?id=d … _printview
thanks~
and i get another problem. the IE show table has 20 column but i print that only 11 column on the paper when the table’s is more than 20,it is only 11 column on the paper,some friends say to me that using a bigger paper,haha,hope you can give me a great idea. you are fine…
Print view removes fixed size from the table, so columns will be auto-adjusted during printing.
Still , if you have too many columns, browser may be not able to place all columns on the same page. Unfortunately there is no way to control printing directly from js code, but you can specify list of columns which you need in print view, skipping not-important columns.
thank u