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)
Script setUserPorperty
loume
I'm work with BIRT 2.3
In Script have this.setUserPorperty() function, have anyone can teach me how to use this??
It's can set Grid、Table、Data property??
Can I use Script or other to do this??
For example:
I have a Grid in the report, If the params["P_SHOW"] == "no" then this Grid property->section->display I want set none(No Display)
Have way I can do it??
Thx
Find more posts tagged with
Comments
loume
I had got answer<br />
It's consultation <a class='bbc_url' href='
http://www.birt-exchange.com/devshare/designing-birt-reports/366-swap-data-set-based-on-the-designer/'>http://www.birt-exchange.com/devshare/designing-birt-reports/366-swap-data-set-based-on-the-designer/</a><br
/>
<br />
Script write in Report Design initialize or beforefactory<br />
<br />
shows = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("total_grid");<br />
shows.setProperty( "display", "none" );<br />
<br />
first line will get Element<br />
second line is set Element Property