Skip to main content



      Home
Home » Archived » BIRT » Is it possible to change a grid in its grid event handler (java)
Is it possible to change a grid in its grid event handler (java) [message #635443] Tue, 26 October 2010 15:08 Go to next message
Eclipse UserFriend
Hi,

I am trying to change a grid that spans over several pages in its grid
event handler. However changes to the grid (add row, change cell
content) have no effect from within the the grideventhandler.

Please have a look at the following snippet:
http://pastebin.com/h2VKuX8z

Am I doing something wrong or doesn 't it work in general to adjust
grids in its event handlers?

Thanks Kris
Re: Is it possible to change a grid in its grid event handler (java) [message #635692 is a reply to message #635443] Wed, 27 October 2010 13:53 Go to previous message
Eclipse UserFriend
Kris,

I believe this is because after the item is prepared adding things like
rows will have no effect. Try adding rows to the grid in the
beforeFactory event handler.

Jason

On 10/26/2010 3:08 PM, KW wrote:
> Hi,
>
> I am trying to change a grid that spans over several pages in its grid
> event handler. However changes to the grid (add row, change cell
> content) have no effect from within the the grideventhandler.
>
> Please have a look at the following snippet:
> http://pastebin.com/h2VKuX8z
>
> Am I doing something wrong or doesn 't it work in general to adjust
> grids in its event handlers?
>
> Thanks Kris
Previous Topic:Java Script auto-complete
Next Topic:Change an image properties before the report generation
Goto Forum:
  


Current Time: Tue Jul 22 17:47:36 EDT 2025

Powered by FUDForum. Page generated in 0.23845 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top