[ 
http://jira.codehaus.org/browse/DISPL-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_120268
 ] 

Nathan McDonald commented on DISPL-381:
---------------------------------------

I am looking for a feature similar to this.

In a previous project we were using jasper reports to generate PDFs, and one of 
the really cool things was using a column value to group subsets of data.

Example is provided below from one of the jasper samples:
http://www.jasperforge.org/jaspersoft/opensource/business_intelligence/jasperreports/samples/FirstJasper.html

I've had a bit of a play myself, and with a custom decorator I can get a header 
row above subgroups (one column marked as group, colspan the sub-header across 
all columns and place the cell value in).  The grouped column still appears in 
the the following rows which would be nice to hide.

This was just a quick play, and obviously not a great way to do it, but shows 
some proof of concept.

> Adding the group column value as a header row to the group results
> ------------------------------------------------------------------
>
>                 Key: DISPL-381
>                 URL: http://jira.codehaus.org/browse/DISPL-381
>             Project: DisplayTag
>          Issue Type: Improvement
>          Components: Export, HTML Generation
>    Affects Versions: 1.1
>            Reporter: Suri Babu Batlanki
>             Fix For: TBD
>
>         Attachments: 28Jul2006-Grouping.html
>
>
> Normally we can group the results by specifying the group attribute of 
> display:column tag.
> But the group column value show as a column in the table.
> It would be really helpful if we able to show the group column value as 
> header row to the group results.
> I have attached a html file which depicts what I require...
> Thanks for providing an excellent library.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to