0

How to Print Grid

asked 2014-04-03 14:44:59 +0800

sathishk gravatar image sathishk
17 5

Hi sir,

I Want to print a grid, I have grid,this contains records,i need to print this grid. please provide me sample code of print a file. I am created Excel and PDF from this grid,how to print this grid ,please help.

delete flag offensive retag edit

Comments

Thank u for reply , It's work on export pdf and excel , but i need to print that grid,how to do?

sathishk ( 2014-04-04 07:24:14 +0800 )edit

sorry, I was thinking you needed to have a excel or pdf that the user could print

chillworld ( 2014-04-04 09:51:16 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-04-03 16:33:59 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

You could take a look at this small talk.
It helped me also for exporting a grid.
Just watch out when you use paging, you only export the first page (also when you are watching page 3) If you use paging just follow the instructions of the RowRenderer.
I just didn't use the interceptor but gave the String[] heads with it and it fills it in correcly

Greetz chill.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-04-03 14:44:59 +0800

Seen: 32 times

Last updated: Apr 03 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More