Print the Grid and some other elements of page

Hi, I am using printView function for Grid printing, how can I send some other element values to print which are not part of Grid?



Thanks

printView method has to parameters:

the first one - the html  which will be set before the grid;
the second - the html  which will be included after the grid
.

grid.printView(before,after)

Thank you!