Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Looping dataset row values in globalvariable or parameter
vishalkp
Hello All,
I am having a dataset in my report. It results into two columns 'a' integer and 'b' string.
I want to use all the 'b' column's row values in Javascript.
so tried to bind the dataset to the table, i am getting the values of 'b' but in rows.
0 US
1 UK
2 IND
3 AUS
I also tried using the JS (reportContext.setParameterValue("b1",this.getRowData().getColumnValue("b"));), but was able to get only the first row value of the column 'b'.
Now i want each 'b' values in something like loop (for(a=0;a<=(countofrows);a++)) and link this value to some global variable or parameter.
i.e a=US, b=UK, c=IND, d=AUS
There is one more thing that i dont know the exact no. of. rows for 'b', as it may vary for different parameters passed to the dataset.
Do reply your suggestions...
Thanks in Advance...
With regards,
VishalKP.
Find more posts tagged with
Comments
ssekhar
Hi Vishal,
Did you get any solution for looping? I am also looking for some looping functionality in BIRT. Please let me know if you have any info regarding this.
Thanks,
Sekhar.