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.
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.
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.
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.
Most Users Ever Online: 215
Currently Browsing this Page:
Guest Posters: 447
Newest Members: kefeoglu, davsha77, Elizabeth_Keen, jqgriddeveloper, Peter, tbass77
Moderators: tony: 7620, Rumen[Trirand]: 81
Administrators: admin: 61