Look at these examples:
http://displaytag.homeip.net/example-callbacks.jsp
http://www.jamesgood.com:8080/displaytag-examples-1.1-SNAPSHOT/example-new-export.jsp
 
The second one is a little more involved, but it includes convenient links to the code.  You can get the code for the first example by checking out the displaytag-examples project from cvs.
 
-Jorge

Christopher Becker <[EMAIL PROTECTED]> wrote:
Hi;
 
I am interested in displaying the totals row only at the end of the table (last page) as well. Could you provide an example as to how this is done?
Regards,
 
--Chris

>>> [EMAIL PROTECTED] 10/12/2005 7:28:12 PM >>>
BTW, if you don't have to place your totals row in the
footer, you can just use a table decorator to generate
your totals row as the last line of the table, and
avoid the inconsistent tfoot browser implementations
altogether.

-Jorge

--- Jorge Barroso <[EMAIL PROTECTED]> wrote:

> Just happened to be reading about this at htmldog
> today,
> http://www.htmldog.com/guides/htmladvanced/tables/,
> where you'll find out that
> when printed, the thead and tfoot rows SHOULD appear
> on every page.
> Mozilla is following the standard, whereas
> "IE doesn't have a clue when it comes to headers and
> footers, and although it renders them in the table,
> they will not appear at the top and bottom of every
> printed page."
> So, it looks like you're taking advantage of IE's
> non-sta ndard tfoot printed presentation and wanting
> Mozilla to do the same.  Perhaps you could redefined
> tfoot's presentation through css so that it only
> prints at the bottom of the page.  Though I don't
> have an answer for you, I hope this sheds some light
> into your problem.

> -Jorge
>
> pankaj singla <[EMAIL PROTECTED]> wrote:
>
> Is there any way to control the printiing of footer
> in table to last page only. I am using footer to
> print
> the Sum of each column in the last line. I am using
> display:table for the table. But while IE is only
> showing the footer on last page, Mozilla shows
> footer
> on each page.
>
> Thanks,
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
>
> http://www.yah oo.com/r/hs
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content,
> downloads, discussions,
> and more.
> http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> displaytag-user mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>        
> ---------------------------------
>  Yahoo! Music Unlimited - Access over 1 million
> songs. Try it free.



       
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Tr y it free.
http://music.yahoo.com/unlimited/


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user


Yahoo! FareChase - Search multiple travel sites in one click.

Reply via email to