Skip to main content



      Home
Home » Archived » BIRT » creating javascript vector from dataSetRow(creating javascript vector from dataSetRow)
creating javascript vector from dataSetRow [message #781989] Sun, 22 January 2012 18:12 Go to next message
Eclipse UserFriend
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 11:55 Go to previous messageGo to next message
Eclipse UserFriend
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 224 times)
Re: creating javascript vector from dataSetRow [message #782412 is a reply to message #781989] Mon, 23 January 2012 11:55 Go to previous messageGo to next message
Eclipse UserFriend
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 206 times)
Re: creating javascript vector from dataSetRow [message #782419 is a reply to message #781989] Mon, 23 January 2012 11:55 Go to previous messageGo to next message
Eclipse UserFriend
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 258 times)
Re: creating javascript vector from dataSetRow [message #782481 is a reply to message #782419] Mon, 23 January 2012 14:57 Go to previous messageGo to next message
Eclipse UserFriend
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 03:03 Go to previous message
Eclipse UserFriend
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: Tue Jul 15 04:37:37 EDT 2025

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

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

Back to the top