Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:08 Go to next message
Kris Missing name is currently offline Kris Missing nameFriend
Messages: 47
Registered: July 2009
Member
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 17:53 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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: Thu Apr 25 21:19:32 GMT 2024

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

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

Back to the top