mayur shastri
mayur shastri

Reputation: 5

using displaytag how to export only selected columns?

I am using hibernate, struts2, jsp and display tag library fo a basic web app. I am new in display tag library. I am trying to display user data, with edit and delete columns. while exporting the display table, i want to exclude these edit and delete columns. How can i do that.

Upvotes: 0

Views: 1386

Answers (1)

Monicka Akilan
Monicka Akilan

Reputation: 1549

Place media="html" in edit and delete column so it doesn't export those columns

code changed in the above snippet::

display:column title="Edit"   media="html"
display:column title="Delete" media="html"

Upvotes: 4

Related Questions