Skip to main content



      Home
Home » Archived » BIRT » Retrieve Column Index(How do I get the column index to use in a table filter?)
Retrieve Column Index [message #637800] Mon, 08 November 2010 17:28 Go to next message
Eclipse UserFriend
We are using Birt 2.5

I have a report with tables nested inside of a main table. For the nested tables, I would like to use the column index of the parent table column that the table is nested in as part of a filter for the nested table. Is there a way to easily get the parent column index for use in a nested table filter?

Thanks
Re: Retrieve Column Index [message #638023 is a reply to message #637800] Tue, 09 November 2010 11:21 Go to previous message
Eclipse UserFriend
You could always check it against the container cellid like:

var mytable =reportContext.getDesignHandle().findElement("innertable");
mytable.getContainer().getID();

equals

95

Note that the inner table is named and it is contained in cell id 95 of
the outer table.

Jason

On 11/8/2010 5:28 PM, Jim wrote:
> We are using Birt 2.5
>
> I have a report with tables nested inside of a main table. For the
> nested tables, I would like to use the column index of the parent table
> column that the table is nested in as part of a filter for the nested
> table. Is there a way to easily get the parent column index for use in a
> nested table filter?
>
> Thanks
>
Previous Topic:How do i integrate birt report with java
Next Topic:Cascading parameter default value problem
Goto Forum:
  


Current Time: Sun Jul 27 02:22:28 EDT 2025

Powered by FUDForum. Page generated in 0.03022 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top