I don't know if I understand your question, but if you want to print the datagrid you can launch the Print dialog with a javascript line of code [window.print();]
This works exactly as when you press print on the browser. Maybe you have some parts of the page you don't want to print (header, nav bar, etc). You can use css to hide that content in the time of printing
Here you have an article about css media type
http://www.webreview.com/style/2000/01_07_00.shtml