Hi Abhimanyu

To change media types columns display in use the media attribute.

for example :- 

  <display:table name="test" export="true" id="currentRowObject">
    <display:setProperty name="export.rtf.filename" value="example.rtf"/>
    <display:column property="id" title="ID" media="html" />
    <display:column property="email" />
    <display:column property="status" />
    <display:column property="longDescription" media="csv excel xml pdf"
title="Not On HTML" />
    <display:column property="date" />
    <display:column media="html" title="URL">
      <![CDATA[ "]] <c:out value="${currentRowObject.url}"
/><![CDATA[">]]><c:out value="${currentRowObject.url}" /><![CDATA[ ]]>
    </display:column>
    <display:column media="csv excel" title="URL" property="url" />
    <display:setProperty name="export.pdf" value="true" />
  </display:table>


 The id column will not display in exports, whilst the longDescription will
only display in exported files.

    Nick
 


Abhimanyu Koul wrote:
> 
> Hi!
> I am using export option in  my display tag. Everything is going smooth
> but I want to disable one column (display:column) from being exported ie
> displayed in the exported format.
> What is the way out?
>  
> Abhimanyu
> 
> 

-- 
View this message in context: 
http://www.nabble.com/display-tag---urgent-tf2884765.html#a8067488
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to