-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I'm using a grid to show a list of numbers in two columns.
I want to include a final row that shows the totals for each column. To emphasis that these are totals I want to add a single line border to the top of the total cell, and a double underline at the bottom border of the total cell.
Any idea on how to achieve this with grid/row/cell?
Using a footer with style on the labels:
<foot>
<footer span="2"></footer>
<footer align="right">
<label value="220" style="text-decoration:underline; border-top: 1px solid #000; border-bottom: 1px solid #000; font-weight: bold; font-size: 16px" />
</footer>
<footer align="right">
<label value="110" style="text-decoration:underline; border-top: 1px solid #000; border-bottom: 1px solid #000; font-weight: bold; font-size: 16px;" />
</footer>
</foot>
Costas
And here is another footer with style on the cell:
<foot>
<footer span="2"></footer>
<footer align="right" style="border-top: 1px solid #000; border-bottom: 3px double #000;" >
<label value="220"/>
</footer>
<footer align="right" style="border-top: 1px solid #000; border-bottom: 3px double #000;" >
<label value="110"/>
</footer>
</foot>
Hope that helps
costas
Asked: 2014-06-10 16:20:48 +0800
Seen: 29 times
Last updated: Jun 12 '14