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)
dataSetRow & dynamic text
Baku
Hello all,
I was wondering if, in a dynamicText component (binded to a dataSet), we can iterate directly to add each row in a new array for exemple ?
I get the same result with a PGV that I fill in the onFetch method of my dataSet, but it's not a direct way...
Any ideas ?
Find more posts tagged with
Comments
mwilliams
I believe that binding to a dynamic text will only give you the last row of the dataSet for each field. To create an array of the values, you'll have to do so in the onFetch, I think. From there, you can use this array in your dynamic textbox to do whatever you'd like.
mcremer
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="81661" data-time="1313677379" data-date="18 August 2011 - 07:22 AM"><p>
I believe that binding to a dynamic text will only give you the last row of the dataSet for each field. To create an array of the values, you'll have to do so in the onFetch, I think. From there, you can use this array in your dynamic textbox to do whatever you'd like.<br /></p></blockquote>
<br />
You could also create a string array sepreating the data with a ; in a var[] value and then use split on ; to do this. But this is rather overly complex to do this.