:: Forum >> Version 2 >>

How to print?

Is there any way to print the grid?
Francesco_G
Friday, October 26, 2007
nvm, I got it. Had to go through the forum and make a medley of many posts.

Now...
create a NEW stylesheet and call it siteprint.css
paste the code below in there

@media print 

.
active-scroll-bars
.
active-scroll-left
.
active-scroll-corner 
displaynone


.
active-scroll-top 
positionabsolute
overflowvisible
widthauto!important
heightauto!important


.
active-controls-grid 
overflowvisible
heightauto
widthauto


.
active-scroll-data 
positionabsolute
overflowvisible
widthauto!important
heightauto!important

}
 
Then modify your html page adding

<link rel="stylesheet" media="print" href="siteprint.css" type="text/css">[  If you have any <style> tag in your html, be sure to add the keyword "screen" to the media.
so, in my case, I had to modify this

<style>
        .
aw-grid-control {height100%; width100%; fontmenu;}
        .
aw-column-{border-right1px solid #cccwidth180px;}
        .
aw-column-{border-right1px solid #cccwidth150px;}
        .
aw-column-{border-right1px solid #cccwidth450px;}
        .
aw-grid-row {height:20px}
        .
aw-alternate-even {background#FFFFFF;  border-bottom1px solid #ccc}
        .
aw-alternate-odd {background#ECF7FBborder-bottom1px solid #ccc}
   </
style>
 
into...

<style [b]media="screen"[/b]>
        .
aw-grid-control {height100%; width100%; fontmenu;}
        .
aw-column-{border-right1px solid #cccwidth180px;}
        .
aw-column-{border-right1px solid #cccwidth150px;}
        .
aw-column-{border-right1px solid #cccwidth450px;}
        .
aw-grid-row {height:20px}
        .
aw-alternate-even {background#FFFFFF;  border-bottom1px solid #ccc}
        .
aw-alternate-odd {background#ECF7FBborder-bottom1px solid #ccc}
   </
style>
 
Francesco_G
Friday, October 26, 2007
well, the bbcode does not work as intended :p

<style media="screen">
Francesco_G
Friday, October 26, 2007



This topic is archived.

Back to support forum

Forum search