Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » creating javascript vector from dataSetRow(creating javascript vector from dataSetRow)
creating javascript vector from dataSetRow [message #781989] Sun, 22 January 2012 23:12 Go to next message
Christoph Kiehn is currently offline Christoph KiehnFriend
Messages: 8
Registered: January 2012
Junior Member
Hi,

I just started using BIRT.
I'm wondering about an easy way to construct a javascript vector (or even a matrix) from dataSetRow elements.
I'd like to do some math on this vectors...
Thanks
C
Re: creating javascript vector from dataSetRow [message #782407 is a reply to message #781989] Mon, 23 January 2012 16:55 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you want to do this in the server side script of BIRT or are you
wanting this to be a client side available array? If it is all server
side you can add a table tied to the dataset and load up a js array in
the table rows' oncreate or on the expression of a given item in the
table. Next you can hide the table with visibility so it does not show
in the report. Have a look at the attached example.

Jason

On 1/22/2012 6:12 PM, Christoph Kiehn wrote:
> Hi,
>
> I just started using BIRT.
> I'm wondering about an easy way to construct a javascript vector (or
> even a matrix) from dataSetRow elements.
> I'd like to do some math on this vectors...
> Thanks C
  • Attachment: jsarray.zip
    (Size: 2.66KB, Downloaded 86 times)
Re: creating javascript vector from dataSetRow [message #782412 is a reply to message #781989] Mon, 23 January 2012 16:55 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you want to do this in the server side script of BIRT or are you
wanting this to be a client side available array? If it is all server
side you can add a table tied to the dataset and load up a js array in
the table rows' oncreate or on the expression of a given item in the
table. Next you can hide the table with visibility so it does not show
in the report. Have a look at the attached example.

Jason

On 1/22/2012 6:12 PM, Christoph Kiehn wrote:
> Hi,
>
> I just started using BIRT.
> I'm wondering about an easy way to construct a javascript vector (or
> even a matrix) from dataSetRow elements.
> I'd like to do some math on this vectors...
> Thanks C
  • Attachment: jsarray.zip
    (Size: 2.66KB, Downloaded 58 times)
Re: creating javascript vector from dataSetRow [message #782419 is a reply to message #781989] Mon, 23 January 2012 16:55 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you want to do this in the server side script of BIRT or are you
wanting this to be a client side available array? If it is all server
side you can add a table tied to the dataset and load up a js array in
the table rows' oncreate or on the expression of a given item in the
table. Next you can hide the table with visibility so it does not show
in the report. Have a look at the attached example.

Jason

On 1/22/2012 6:12 PM, Christoph Kiehn wrote:
> Hi,
>
> I just started using BIRT.
> I'm wondering about an easy way to construct a javascript vector (or
> even a matrix) from dataSetRow elements.
> I'd like to do some math on this vectors...
> Thanks C
  • Attachment: jsarray.zip
    (Size: 2.66KB, Downloaded 94 times)
Re: creating javascript vector from dataSetRow [message #782481 is a reply to message #782419] Mon, 23 January 2012 19:57 Go to previous messageGo to next message
Christoph Kiehn is currently offline Christoph KiehnFriend
Messages: 8
Registered: January 2012
Junior Member
Hi Jason,

thanks a lot!
This is just what I was looking for.
Greetings
C
Re: creating javascript vector from dataSetRow [message #783169 is a reply to message #782481] Wed, 25 January 2012 08:03 Go to previous message
Ramon Galaron is currently offline Ramon GalaronFriend
Messages: 1
Registered: January 2012
Junior Member
Hi Jason,

thanks a lot!
This is just what I was looking for.
Greetings
Ramon
Previous Topic:Integerating BIRT inside the Web Application
Next Topic:Set default value of a dynamic listbox parameter
Goto Forum:
  


Current Time: Sun Dec 21 04:14:04 GMT 2014

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

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