Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jason on Jan 16, 2009 15:57
open dhtmlx forum
Hiding Filters during printview()

I have filters using attachheader of course. I would like to be able to hide them when I do printview();
Answer posted by Support on Jan 19, 2009 01:40
There is no way to hide such line on printView, but you can fully remove it from grid in necessary moment of time as 

grid.detachHeader(ind)
grid.printView();

where ind - index of row in header, which need to be removed
Answer posted by Jason on Jan 19, 2009 09:27
My XML comes in dynamically from a web page, is there a way to easily store the header temporarily so I can reattach it right after? Or is there a way to read the header information so it can rebuilt?
Answer posted by Support on Jan 20, 2009 08:58
Please check attached sample. 
Attachments (1)