Thnx @ Christian Graus
completed with javascript kept a hidden div
and printed by unhiding it and then kept it hidden
new_window.document.write(header.outerHTML);
new_window.document.write(grd_obj.outerHTML);
new_window.document.close();
new_window.print();