[jira] Reopened: (DISPL-199) Column Summation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (DISPL-199) Column Summation

JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/DISPL-199?page=all ]
     
Andrew Festa reopened DISPL-199:
--------------------------------


I'm reopening this issue because the resolution wasn't clear.  I'm also attempting to write my own patch for this.

> Column Summation
> ----------------
>
>          Key: DISPL-199
>          URL: http://jira.codehaus.org/browse/DISPL-199
>      Project: DisplayTag
>         Type: New Feature
>   Components: Paging/Sorting
>     Reporter: Andrew Festa
>     Priority: Minor
>      Fix For: 1.1

>
>
> It would be nice to have columns automatically sum without using a TableDecorator.  Something like this:
> <display:table summation="true" sumTitle="Total">
>   <display:column property="name" title="Item Label" />
>   <display:column property="value1" title="Value 1" sort="true" />
>   <display:column property="value2" title="Value 2" sort="true" />
> </display:table>
> And that will generate a table like so:
> (Forgive my sloppy HTML...)
> <table>
> <tr><th>Item Label</th><th>Value 1</th><th>Value 2</th></tr>
> <tr><td>Item 1</td><td>1</td><td>2</td></tr>
> <tr><td>Item 2</td><td>3</td><td>4</td></tr>
> <tr class="totalsRow"><td>Total</td><td>3</td><td>6</td></tr>
> </table>
> This could also be extended to provide properties that would determine whether the entire collection or just the visible page was totalled.
> Another feature would be an extention of the TableDecorator class so you could decorate each column of the Total Row. (ie getTotalValue1())

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel