Hi my name is Mariano Molina, I am working as a java developer since the
last 5 years.
Now I am using the displaytag library but a have a bit deal with it.
One section of my application, has a "dynamic report". A user searchs by a
specific criteria, then the app, shows a report with 2 columns by default
then, there are some chechboxes that hide or unhide other columns.

Ex:
Report:
Name          Last Name
Thomas         Robinson

The User checks the box that enables the *Country*  so..

Report:
Name          Last Name      Country
Thomas         Robinson        USA

This is very easy using some javascripts code. Note that the entered table
had been rendered by the displaytag library, the I just use javascript in
order to hide or unhide some columns.

The problem is when I want to export the data, because I can't find the way
to enable or disable the media *after *the tables had been rendered by the
displaytag (by defalut all the columns will be exported by I just want to
export the ones that the user see in the screen).

I know that if in my code I don't want some column to be shown during
export, I can use the column *media*  attribute to "hard code" the report
behaviour, however I don't know what to do if the table had been rendered
yet.

I will really appreciate your help on that.


Thanks!
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to