Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Change Crosstab column width in onCreate event.
Migrateduser
<p>Hello,</p><p> </p><p>I'm trying to set the width of a column on my crosstab to 0px (hide it), based on a condition which includes data from the crosstab. </p><p> </p><p>reportContext.getDesignHandle().getElementByID(6395).setStringProperty("width", "0px");</p><p>--works perfectly in the onPrepare event. However, I need access to a globalvariable that's being set in the onFetch event of a dataset (which I believe runs AFTER the onPrepare event).</p><p> </p><p>Is there any way to set the width of the column in the onCreate event. Given my limited knowledge on BIRT, I believe the onCreate event has access to the data from the Crosstab and also runs after onFetch (which allows me to access my globa'variable).</p><p> </p><p>And for some reason:</p><p>reportContext.getDesignHandle().getElementByID(6395).setStringProperty("width", "0px");</p><p>-- does not work in the onCreate event.</p>
Find more posts tagged with
Comments
There are no comments yet