0

How to set top and bottom cell borders for totals cell?

asked 2014-06-10 16:20:48 +0800

davout gravatar image davout
1435 3 18

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?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-06-12 07:12:40 +0800

cyiannoulis gravatar image cyiannoulis
1201 10

updated 2014-06-12 08:48:15 +0800

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

link publish delete flag offensive edit
0

answered 2014-06-12 07:21:31 +0800

cyiannoulis gravatar image cyiannoulis
1201 10

updated 2014-06-12 08:49:02 +0800

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

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-06-10 16:20:48 +0800

Seen: 29 times

Last updated: Jun 12 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More