|Re: getting Data Element value in onCreate event [message #778400 is a reply to message #777893]
||Wed, 11 January 2012 12:31
| Jason Weathersby
Registered: July 2009
If you are previewing in the designer the beforeRender event will fire |
before the oncreate events for data elements. If you preview using the
web viewer it will fire like you want it to. In the oncreate use:
and in the beforeRendering
var tst = reportContext.getGlobalVariable("myvar");
var tst = reportContext.getPersistentGlobalVariable("myvar");
for details on event order.
On 1/11/2012 12:49 AM, Madhana Gopal wrote:
> Hi All,
> I am new to Eclipse BIRT. I want to get the data element value in
> onCreate event of this element and assign to a global variable. Also i
> would like to access the value of this global variable in beforeRender
> event of the Report.
> I have tried several ways but no luck.
> Please help me out.
> Thanks & Regards
Powered by FUDForum
. Page generated in 0.13596 seconds