Changing width of crosstab cell.
<p>Is there a reason why <strong>reportContext.getDesignHandle().getElementByID(6398).setStringProperty("width", "0px")</strong></p><p>does not work in onCreateCell of a Crosstab.</p><p>However, </p><p>reportContext.getDesignHandle().getElementByID(6398).setStringProperty("height", "0px") - works just fine.</p>
0
Comments
-
<p>After using eclipsec.exe and doing</p><pre class="_prettyXprint">function onCreateCell( cellInst, reportContext ){ Packages.java.lang.System.out.println(cellInst.getCellID());}</pre><p>I found that each column shares an ID from cellInst. So to set the width for just one cell you would need to do something like this</p><pre class="_prettyXprint">var i = 0function onCreateCell( cellInst, reportContext ){ if (cellInst.getCellID() == 23){ i++; if(i == 3) { cellInst.getStyle().setDisplay("none") } } }</pre><p>From the onCreate() of the crosstab. The border stays but the data is blank since the width is set to 0px.</p>Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management