Hiding Filters during printview()

I have filters using attachheader of course. I would like to be able to hide them when I do printview();

There is no way to hide such line on printView, but you can fully remove it from grid in necessary moment of time as


where ind - index of row in header, which need to be removed

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?

Please check attached sample.
sample_print.zip (753 Bytes)