Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Problems writing a JS event handler
ithack07
Hi,
In table.onCreate() i wrote a function which fills an array with data. My intention is to manipulate this array in row.onCreate(). My problem is that the data in row.onCreate() is not "communicating" with the data in table.onCreate(). When i call on any of the variables initialised in table.onCreate() i get an error. I have tested the code and it works perfectly outside of BIRT. Anyone have any ideas of what might be the problem?
Thanks
Find more posts tagged with
Comments
mwilliams
Hi ithack07,
Are you using "var" before defining the variable? If so, try removing that as that creates a local variable. If that doesn't work, try defining each variable you're going to be setting in the table in the "initialize" method of the report.
Hope this helps.
ithack07
Hi Michael,
Thanks for that, It was the 'var' keyword that was causing the problem.