By: marc - marcw718
can I print a thin line between each row?
2003-01-10 13:09
How can I print a thin line between each row?
Also, how can I make the rows print in alternating colors?
Thanks,
Marc
By: Krishna S - krishna_s
RE: can I print a thin line between each row?
2003-01-10 14:08
Hi Marc,
I don't know how to print a thin line.
Here is what i tried w/ bands ( alternate colors ):
For each table cell, have two overlapping text fields ( one of them w/ background color and another with out background color) and based chose the right text field based on the row count. See "1. Dynamic Element Formatting" in the page
http://jasperreports.sourceforge.net/tips.tricks.html
On problem I found w/ the above approach is: some times if the cell streches ( beacuse the field is larger than the allocated space ) it looks awkward.
If you find any other soln. pls post here
Rgds.,
By: Krishna S - krishna_s
RE: can I print a thin line between each row?
2003-01-10 14:09
Hi Marc,
I don't know how to print a thin line.
Here is what i tried w/ bands ( alternate colors ):
For each table cell, have two overlapping text fields ( one of them w/ background color and another with out background color) and based chose the right text field based on the row count. See "1. Dynamic Element Formatting" in the page
http://jasperreports.sourceforge.net/tips.tricks.html
On problem I found w/ the above approach is: some times if the cell streches ( beacuse the field is larger than the allocated space ) it looks awkward.
If you find any other soln. pls post here
Rgds.,
By: Krishna S - krishna_s
RE: can I print a thin line between each row?
2003-01-10 14:27
Regd., line here is a thought:
Pass alternate empty rows to Jasper API. And in the design insert a thin row with background color ?
Rgds.,
By: Moisey Blehman - rhal
RE: can I print a thin line between each row?
2003-01-14 09:11
Just put this code in the end of your detail section:
<line>
<reportElement x="0" y="13" width="230" height="0" forecolor="#808080" positionType="Float"/>
<graphicElement stretchType="NoStretch" pen="Thin"/>
</line>
y="13" - your detail section band height
width="230" - your detail section width.
You can see more on this in the demo section of jasper reports ("jasper" directory...)
can I print a thin line between each row?
2003-01-10 13:09
How can I print a thin line between each row?
Also, how can I make the rows print in alternating colors?
Thanks,
Marc
By: Krishna S - krishna_s
RE: can I print a thin line between each row?
2003-01-10 14:08
Hi Marc,
I don't know how to print a thin line.
Here is what i tried w/ bands ( alternate colors ):
For each table cell, have two overlapping text fields ( one of them w/ background color and another with out background color) and based chose the right text field based on the row count. See "1. Dynamic Element Formatting" in the page
http://jasperreports.sourceforge.net/tips.tricks.html
On problem I found w/ the above approach is: some times if the cell streches ( beacuse the field is larger than the allocated space ) it looks awkward.
If you find any other soln. pls post here
Rgds.,
By: Krishna S - krishna_s
RE: can I print a thin line between each row?
2003-01-10 14:09
Hi Marc,
I don't know how to print a thin line.
Here is what i tried w/ bands ( alternate colors ):
For each table cell, have two overlapping text fields ( one of them w/ background color and another with out background color) and based chose the right text field based on the row count. See "1. Dynamic Element Formatting" in the page
http://jasperreports.sourceforge.net/tips.tricks.html
On problem I found w/ the above approach is: some times if the cell streches ( beacuse the field is larger than the allocated space ) it looks awkward.
If you find any other soln. pls post here
Rgds.,
By: Krishna S - krishna_s
RE: can I print a thin line between each row?
2003-01-10 14:27
Regd., line here is a thought:
Pass alternate empty rows to Jasper API. And in the design insert a thin row with background color ?
Rgds.,
By: Moisey Blehman - rhal
RE: can I print a thin line between each row?
2003-01-14 09:11
Just put this code in the end of your detail section:
<line>
<reportElement x="0" y="13" width="230" height="0" forecolor="#808080" positionType="Float"/>
<graphicElement stretchType="NoStretch" pen="Thin"/>
</line>
y="13" - your detail section band height
width="230" - your detail section width.
You can see more on this in the demo section of jasper reports ("jasper" directory...)
0 Answers:
No answers yet