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
How to get the value of a cell in a table by BIRT API?
Migrateduser
<p>I have a table in a BIRT report, and I want to get the value of cell(0, 0) in it by API.</p>
<p>I can get the cell handle, but what shuold I do next?</p>
<p> </p>
<p>public void beforeFactory(IReportDesign report, IReportContext reportContext) throws ScriptException<br>
{<br>
// TODO Auto-generated method stub<br>
super.beforeFactory(report, reportContext);<br>
<br>
try<br>
{<br>
TableHandle mytable = (TableHandle) reportContext.getDesignHandle().findElement("mytable");<br>
RowHandle detail = (RowHandle) mytable.getDetail().get(0);<br>
CellHandle cell = (CellHandle) detail.getCells().get(0);</p>
<p>
<strong>// I want to get the value of the cell(0, 0), what shuold I do next?</strong></p>
<p>
}<br>
}</p>
Find more posts tagged with
Comments
There are no comments yet