论坛首页 Java企业应用论坛

displaytag 字段只展示在excel中

浏览 1480 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2013-05-28  
<display:column title="预约时间和原因" property="reservationRemark"   media="csv">
</display:column>


media 属性的解释
Use this attribute to keep a column from being output during an export. The
column will only render for the named media type(s) - it won't be added to the
table if the current request media is not supported. Can be any space separated
combination of 'html', 'csv', 'xml', 'all', or 'excel'. Defaults to 'all'. See the export
page in the example webapp for more details.
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics