Jump to content
We've recently updated our Privacy Statement, available here ×

Changing Element Attributes in Report Scriptlet


SoS

Recommended Posts

We have the chance of modifying both xml design file jrxml and compiled .jasper file before filling task.Going one step further, I want to know if it is possible to make any changes during runtime by USING REPORT SCRIPLET methods such as "beforeDetailEval()" as it is demonstrated in projects' sample AlterDesign application? :blink:

Post edited by: SoS, at: 2006/07/28 10:38

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

 

You could, but this is not something we recommend as it would probably not work as expected. When you modify a property of a report element during filling, it would probably be reflected onto the already generated document and not only from that point forward.

So if you change the color of an element, it will change for all the resulting document elements and not only from the moment of the change onward.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...