[ http://jira.codehaus.org/browse/DISPL-242?page=comments#action_46849 ] 

Guillaume Boudreau commented on DISPL-242:
------------------------------------------

You can do that using a TableDecorator:

public void preHeader() {
    super.preHeader();
    try {
        getPageContext().getOut().write(TagConstants.TAG_TR_OPEN);
        getPageContext().getOut().write("<th>&nbsp;</th>");
        getPageContext().getOut().write("<th>&nbsp;</th>");
        getPageContext().getOut().write("<th colspan=\"3\">address</th>");
        getPageContext().getOut().write("<th>&nbsp;</th>");
        getPageContext().getOut().write(TagConstants.TAG_TR_CLOSE);
    } catch (IOException e) {
        e.printStackTrace();
    }
}

Not very intuitive, but possible.

> Ability to add a "group" to colum titles
> ----------------------------------------
>
>          Key: DISPL-242
>          URL: http://jira.codehaus.org/browse/DISPL-242
>      Project: DisplayTag
>         Type: Improvement
>   Components: HTML Generation
>  Attachments: example_column_group.htm
>
>
> An ability to add a group to column names, creating a more simplified 
> description per each column. An example HTML is attached.

-- 
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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to