<p>Hi! I tried something else for my <a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/topic/39184-unmergesplit-cell-on-crosstab-with-script/'>problem</a>, I decided to make a crosstab with 2 columns and hide one of them depending on a parameter value. The thing is when my paramater "cultura" is equal to 0 the third column's width is set to 0, and when it is equal to 1 the first column's width is set to 0. It works perfectly on my local machine but when I run my report on the production environment It doesn't work at all, the columns' width never set to 0. Any ideas on what may be happening? I'm using BIRT 4.2.1;</p>
<p> </p>
<p>what I have in the onPrepare script is the following:</p>
<pre class="_prettyXprint _lang-js">
function onPrepareCrosstab( crosstab, reportContext )
{
if(reportContext.getParameterValue("sect_cultura")==0)
{
reportContext.getDesignHandle().getElementByID("5460").setStringProperty("width","0px");}
else
{
reportContext.getDesignHandle().getElementByID("5407").setStringProperty("width","0px");
}
}
</pre>
<p>which seems to work fine in the local environment but not in the production environment.