printing - again: grid 2.5.3
I have been looking through the forums for a good solution for printing, From what I have read I have a few questions.
To print the grid do you call window.print() ???
I see a new style @media print,
can I just add the style as I create my grid? I have tried this but when using, no rows are visable, only the header. If I dont use the print styling I have an issue (which a few people seem to have) where only one page of data will be printed. I have tried removing the scroll bars and set height to, say 2000px but still only one page will be printed.
Is it possible for some one to post a comprehensive method in printing the grid? Ideally how you call the print method and the styling you use?
To print the grid do you call window.print() ???
I see a new style @media print,
@media print {
.aw-grid-control,
.aw-grid-box,
.aw-scroll-bars,
.aw-bars-content,
.aw-hpanel-template,
.aw-hpanel-box,
.aw-hpanel-top,
.aw-hpanel-middle,
.aw-hpanel-bottom,
.aw-grid-view,
.aw-view-top {
display: block!important;
position: static!important;
width: auto!important;
height: auto!important;
padding: 0px!important;
}
.aw-grid-headers,
.aw-grid-footers,
.aw-grid-row {
width: auto!important;
}
.aw-bars-box,
.aw-column-space,
.aw-selector-space {
display: none!important;
}
can I just add the style as I create my grid? I have tried this but when using, no rows are visable, only the header. If I dont use the print styling I have an issue (which a few people seem to have) where only one page of data will be printed. I have tried removing the scroll bars and set height to, say 2000px but still only one page will be printed.
Is it possible for some one to post a comprehensive method in printing the grid? Ideally how you call the print method and the styling you use?
trev
October 15,