Hello - Is there any way to supress subTotal? I only want to output the
total, but I cannot figure out how to do this.

Here's what I have done:

<%
    org.displaytag.decorator.TotalTableDecorator totals = new
org.displaytag.decorator.TotalTableDecorator();
    totals.setTotalLabel("Totals");
    totals.setSubtotalLabel("");
    pageContext.setAttribute("totals", totals);
%>

    <display:table name="${results}" id="row" decorator="totals">
        <display:column property="group_item" group="1"
style="display:none"/>
***
        <display:column property="value_to_total" title="Value to total"
total="true" />
    </display:table>

-- 
View this message in context: 
http://www.nabble.com/TotalTableDecorator---subTotal-tf4628820.html#a13216936
Sent from the DisplayTag - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to