last day (17 days later) » 

3:14 AM
hi
 
Hi. Can you take a screenshot of what you are seeing and post it here?
 
ok wait
i hope you mind i will just blur out some data ok?
 
This is what I'm seeing after 7 or so pages
Some pages look fine, others have that white space at the top
 
yes
that is what i mean some page are breaking
why is that
also i encounter wierd stuff
when using .append() everything is ok except when data is big some pages break
when using .after even if data is small page break not working
after page 1 not ok
 
Have you tried actually printing on paper? I've noticed the print preview isn't always 100% accurate. On a recent project of mine, print preview wasn't showing some borders or elements were a pixel out of place.
 
3:23 AM
i will upload the pages now
yes it looks like how it looks on screen
this one is screen shot from page where i use append() to add row
it is ok when data is small no problem with pages
when i tried many pages it breaks on some pages
that page is 5th page the start of 5th page starts in 4th page
 
I'm stumped. I though it might be a problem printing from an iFrame but I just tried it without an iFrame and the problem is worse. The next thing I would try is to create a separate table element for each page using css page-break on the tables.
It could be a problem with CSS page-break
 
yeah i tried some stuff to they said tr should be display block i tried adding inline display block on the tr with class pagebreak same result
by the way this is screen shot when using after() second page breaks
 
4:04 AM
I changed it to create a new table for every three rows. The problem seems to have gone. Excuse the messy code.
 
i will check i was trying to do the same thing right now but your code is ready mine is not
give me a minute
i hope this will work i just have to find a way to put in the headers
 
4:23 AM
It's messy but you get the idea
 
yeah i got the idea
but i get extra record whre could this be from i commented the iframe already
looks like im getting double record 1 with table 1 without becuase they dont have border on them
 
Extra record?
 
i mean do i need to hide the original table
i didint see you hide the original table in fiddle
 
I added "dontprint" class to the original table
 
i see
many thanks mate i got the idea now i am doing to make this work very appreciated. if i could send you a bottle of beer right now i would have.. thank you again mate i hope you still willing to help me if i am in a tight rope
thank you again
 
4:39 AM
happy to help :D
 

  last day (17 days later) »