[ http://jira.codehaus.org/browse/DISPL-151?page=comments#action_63498 ]
Bill Schneider commented on DISPL-151: -------------------------------------- Also voting for this issue. I think DISPL-242 will work fine for HTML only but I would also like to see this same grouping metadata available for PDF export as well. > Column grouping and 2 row headers > --------------------------------- > > Key: DISPL-151 > URL: http://jira.codehaus.org/browse/DISPL-151 > Project: DisplayTag > Type: New Feature > Components: Tag Library > Versions: 1.0 RC2 > Reporter: Jonathan Koppenhofer > Priority: Minor > Fix For: TBD > Attachments: ColGrouping.jpg > > > It would be nice to be able to group columns together so that the table > header has 2 rows to show groupings. For example, I want to display a list of > people with info about the person. I would like to have a header like: > | | NAME | | | > | |-----------------------| | | > | PERSON_ID | LAST | FIRST | MIDDLE | PHONE | DEPARTMENT |... > ---------------------------------------------------------- > Data... > I envision something like... > <display:table id="searchResults" name="..." > > <display:column property="id" title="PERSON_ID"/> > <display:column title="NAME"> > <display:column property="lastName" title="LAST"/> > <display:column property="firstName" title="FIRST"/> > <display:column property="middleName" title="MIDDLE"/> > </display:column> > <display:column property="phone" title="PHONE"/> > <display:column property="dept" title="DEPARTMENT"/> > </display:table> > or > <display:table id="searchResults" name="..." > > <display:column property="id" title="PERSON_ID"/> > <display:column property="lastName" title="LAST" GROUP="NAME/> > <display:column property="firstName" title="FIRST" GROUP="NAME/> > <display:column property="middleName" title="MIDDLE" GROUP="NAME/> > <display:column property="phone" title="PHONE"/> > <display:column property="dept" title="DEPARTMENT"/> > </display:table> > ... where "GROUP" is a new attribute. > I would also expect that it would still be able to preserve sorting on the > grouped columns. For example, I would still be able to sort on first, last, > and middle names. -- 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel