Forum



14:19

10/08/2009

Hi!
There are no perfect way to print a jqGrid. Some information which can help you you can find in http://stackoverflow.com/quest.....69#2962569.
Best regards
Oleg
15:54

10/08/2009

You should post a code example which reproduce the problem. Moreover I don't really understand your last remark. jqPrint how I know help only to print a part of page and make no changes in the code. So you are really print only what you see. If you use paging in the jqGrid and want to print all rows you have to display all rows before printing.
16:20

11/05/2010

Hello,
Thanks for your answer, what I want to do is print all my grid, but indeed I only view something like 20 records (and I don't want to show more records). What I can do to get this result ?
I'm quite new to jquery and other stuff, I see somewhere that I can print to an iframe ? didn't get exactly the way to do that.
Kevin
16:33

10/08/2009

If you create a jqGrid you define parameters rowNum and rowList. Default value of rowNum is 20 (see /jqgridwiki/doku.php?id=wiki:options). Typically you use a small value for rowNum and give user possibility (see pager at the bottom of the grid) to choose other number of rows to display for example rowList: [10, 20, 50, 1000]. After the user choose a large enough number of rows to display all the rows can be printed.
Another my answer http://stackoverflow.com/questions/3056182/best-way-to-change-jqgrid-rownum-from-all-to-1-before-pass-to-a-web-service/3057484#3057484 could be also interesting for you.
Regards
Oleg
Most Users Ever Online: 715
Currently Online:
62 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66