Hello Edward,

did you try to set the property "basic.show.header" to false within
your table definition?
Something like:
<display:table name="test">
  <display:setProperty name="basic.show.header" value="false" />
  <display:column property="id" title="ID" />
  <display:column property="name" />
  <display:column property="email" />
</display:table>


I haven't test it right now, but at
http://displaytag.sourceforge.net/1.2/configuration.html it says:
basic.show.header "Indicates if you want the header to appear at the
top of the table, the header contains the column names, and any
additional action banners that might be required (like paging, export,
etc...)"

Regards,
Bastian


2009/6/19 Edward King <zhan...@neusoft.com>:
> If I use following code,
> <% request.setAttribute( "test", new TestList(10, false) ); %>
> <display:table name="test">
>   <display:column property="id" title="ID" />
>   <display:column property="name" />
>   <display:column property="email" />
> </display:table>
> It will show following result, column name plus data
> ID         Name              Email
> 42109   Diam  Ipsum    diam-ip...@eirmod.com
> 41756   Elitr  Sed         elitr-...@eirmod.com
>
> I only want to show data without column name,like follows:
> 42109   Diam  Ipsum    diam-ip...@eirmod.com
> 41756   Elitr  Sed         elitr-...@eirmod.com
>
> I want to know if Displaytag support it? If it support,how to correct my
> code?
>
> Thanks
> Best regards,
> Edward
>

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to