Laran Evans wrote:
> I'm using a table decorator. There are 23 columns in the ResultRows.
> In the JSP I have columns 1-11 being displayed. I can't display more
> than columns 1-11 in the jsp because I only want to display the
> headers for columns 1-11.
>
> The finishRow method of the TableFormatter handles some custom
> formatting for columns 12-23 in the case of MediaType=html. Part of
> the custom formatting for the html version involves actually inserting
> a </tr> to end the row, begin a new row and create a fairly
> complicated table in which columns 12-23 are displayed.
>
> In the cases of MediaTypes csv and excel however I want to display
> columns 1-23 just by appending them to the end of columns 1-11 without
> any complicated formatting.
>
> So, how do I get columns 12-23 to show up on the non-html media types?
>
> Thanks.
>
>   
You define columns 12 - 23 in the <display:table> tags as 
<display:column>s just as you would if you wanted to display them on 
screen but then you set the display attribute of the column tags to "csv 
excel" so that they are only output when you are exporting.

Ed!


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to