Home
Designing Analytics Reports
Hiding crosstab column
Migrateduser
<p>Hi,</p>
<p> </p>
<p>I have a requirement in Cross tab. <span style="color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;font-size:15px;">I want to hide one of the crosstab columns based on some condition.</span></p>
<p><span style="color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;font-size:15px;">OnPrepare of my Cross tab, i have written the below code:</span></p>
<p>function onPrepareCrosstab( crosstab, reportContext ) {</p>
<div>if( reportContext.getParameterValue("P_valid")!=1){</div>
<div>reportContext.getDesignHandle().getElementByID(#elementId).setStringProperty("width","0px");</div>
<div>reportContext.getDesignHandle().getElementByID(#elementId).setStringProperty("width","0px"); <span> </span></div>
<div> }</div>
<div>}</div>
<div> </div>
<div>particular column getting hide. But its not permanently hidden. See the attached image(Problem_Hidden.JPG). </div>
<div> </div>
<div>How can i permanently hide the column in Cross tab.</div>
Find more posts tagged with
Comments
There are no comments yet