Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by aioanei roxana on Jul 10, 2008 05:43
open dhtmlx forum
I want to costumise the printable page

Thanks! Now the probleme is the my grid has colored cells loaded from xml and in printable version there is no color.
if I want to costumise the printable page how can I do this, for example to put a title in the page or some text or a picture header?

Answer posted by Support on Jul 10, 2008 05:51
>>Thanks! Now the probleme is the my grid has colored cells loaded from xml and in printable version there is no color.
Not supported in current version, we are working on update, if you interested, you can contact us directly at support@dhtmlx.com and we will provide you betta version of extension with extended functionality.

>>if I want to costumise the printable page how can I do this, for example to put a title in the page or some text or a picture header?
    var before =" any html code which will be inserted before grid data";
    var after =" any html code which will be inserted after grid data";
    grid.printView(before,after);

before and after may contain any HTML ( including <head><title> to define title of the page )