/    Sign up×
Community /Pin to ProfileBookmark

How I can divide the page

Dears,

I am making a report using ASP the result will be in a table and will be printed at A4 Landscape orientation,

The report result may reach to 100 page or more,

NOW: is there any way in java script (or any other) to divide the page to multi pages with the same size of A4 paper and reassign the table header row to the beginning of each of these papers.

Best Regards

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@7studNov 30.2004 — Well, it seems to me you could figure out how many table rows + the header would fit on a page, then you could use the window.onload event to signal when the table finishes loading in the broswer, so that you could get the table header, copy it, and insert it every x number of table rows.

However, if you expect me to write the script for you, that will cost you. ?
×

Success!

Help @sam7_976 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...