Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by qq_cn on Oct 16, 2009 00:33
open dhtmlx forum
how to make to print the grid's data

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!
Answer posted by dhxSupport on Oct 16, 2009 02:19
Answer posted by e_hozh@live.cn on Oct 17, 2009 01:31

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..

Answer posted by Stanislav (support) on Oct 19, 2009 02:44
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. 
Answer posted by qq_cn on Dec 26, 2009 01:00
thank u