Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to get a column value in a row in an hadler of type DataItemEventAdapter
How to get a column value in a row in an hadler of type DataItemEventAdapter [message #531643] Wed, 05 May 2010 16:36 Go to next message
Neo  is currently offline Neo Friend
Messages: 1
Registered: May 2010
Junior Member
Hi,

I am trying to get the value of a column inside the method onRender of a handler calss of extending type DataItemEventAdapter.

Is there a way to get the result set (the data retrieved after the SQL is fired) in this method?

Thanks,
Neo
Re: How to get a column value in a row in an hadler of type DataItemEventAdapter [message #531699 is a reply to message #531643] Wed, 05 May 2010 19:57 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Use

public void onRender(IDataItemInstance data, IReportContext reportContext)
throws ScriptException {

Object tst = data.getValue();
}

Jason

On 5/5/2010 12:36 PM, Neo wrote:
> Hi,
>
> I am trying to get the value of a column inside the method onRender of a
> handler calss of extending type DataItemEventAdapter.
>
> Is there a way to get the result set (the data retrieved after the SQL
> is fired) in this method?
>
> Thanks,
> Neo
Previous Topic:How to avoid cell merge in tables and crosstab?
Next Topic:BIRT Servlet Stress Test Problem
Goto Forum:
  


Current Time: Thu Apr 25 13:21:37 GMT 2024

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

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

Back to the top