Dynamicly change JasperDesign

By: Dirk Rost - appshare
Dynamicly change JasperDesign
2003-11-20 08:15
I've designed a common JasperReport template for my reports. depending on the number of columns i want to delete some JRDesignElements. later on the user must only see a subset of design elements.

There is not a problem to remove parameters or fields. But how is it possible to remove the Design Elements?

Thanks

appShare




By: Teodor Danciu - teodord
RE: Dynamicly change JasperDesign
2003-11-28 14:04

Hi,

Elements have a "key" property.
You can find your elements inside the band based
on this key.
Check the "alterdesign" sample provided.

I hope this helps.
Teodor
2002 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:28am
Last seen: 16 years 7 months ago

0 Answers:

No answers yet
Feedback
randomness