cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the length of the dynamic table

Former Member
0 Kudos

Dear Gurus,

I have created a dynamic table from the library palette and assigned each cell a field from the data View which have the Webdynpro node cardinality 0..n. Some of the users gets 12 rows and some gets only 4. Until here I am fine. Now I would like to manipulate some of the rows based on a particular value of a column. But when I execute the following, I always get the length of the table as 1 irrespective of the no.of records it displays.

xfa.host.messageBox("The value is : " + xfa.form.form1.#subform[0].Table1.all.length);

Can you please advice how I can get the no.of rows in a dynamic table in Java Script/Form Calc.

Thanks!

Surya.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Surya,

Check out the following link

http://www.adobe.com/devnet/livecycle/designer_scripting_samples.html

It contains sample scripts and examples.

Hope this helps.