cancel
Showing results for 
Search instead for 
Did you mean: 

Print TableView content

Former Member
0 Kudos
66

Hi All

How do I print a TableView content using a button? This is to give print facility to end user.

Regards

Sree

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

do you show only the table in the page? if yes you can use javascript:window.print function to print the page.

if you have set visible row count then may be you should open the print view and print where it displays all records.

if you have other elements in the page and only want to print certain area (the area where tableview is displayed ) then you could use media type print style sheet to print only certain areas of the page

check out these blogs

/people/eddy.declercq/blog/2006/09/14/printing-with-style

/people/sap.user72/blog/2004/12/15/bsphowto-printing-your-pages-what-you-have-for-options

/people/thomas.jung3/blog/2005/08/23/bsp-server-side-printing-for-tableviews

Former Member
0 Kudos

Hi Durairaj Athava...

Yes i did set visible row count. could you send me steps how to do this. There are couple of things on the same page other than TableView.

Thanking you

S Pasuladi

athavanraja
Active Contributor
0 Kudos

please go thru the weblog i have mentioned, the solution in explained there.