Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Which function is called by default "toString" JavaScript object?
griniland
<p>In my report I got computed field and function[color=#0000ff;] myFunc[/color] that returns [color=#0000ff;]MyObject[/color] to be shown in this field. </p><p>Now I get [color=#ff0000;]"[ojbect Object]"[/color] as value, that is not what I want. </p><p> </p><p>Which function of JavaScript Object is used by Birt to return this text value? </p><p> </p><p>I tried to define toString(), toLocaleString(), valueOf() for MyObject.prototype, but nothing works fine.</p><p>No one of them is called indirectly by Birt engine...</p><p> </p>
Find more posts tagged with
Comments
fmakwsi
<p>try ["object Object"].value</p>
griniland
<p>That doesn't work either = ( </p>