cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in adding rows in table

Former Member
0 Kudos

Hi All,

We are adding rows dynamically in the table. The row have a dropdown box in it. And we are facing a strange problem.

We have written:

xfa.form.recalculate(1);

in the Add Row button, because of this the row is added but form fets refresh.

If we remove this line, we can select value in the first Drodown only, after selecting value in one dropdown rest of the dropdown get disabled.

Please help me on this, I have searched on SDN and found nothing.

PS: We have desgined the forn according to the Samle template available with Form Designer.

TIA,

Amit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Whether the rest of the drop down gets disabled or the same value which you select in the first drop down is getting filled in all the dropdowns?

Thanks

Gopal

Former Member
0 Kudos

Hi,

@ Gopal: No values are displayed in the other dropdowns, and I am not able to select the value in them.

@ Sankar: Thanks for the link, I will post the query in this forum also. In simple words, when I add a row in the table, I am not able to select any value in the dropdown that is part of the row.

Regards,

Amit

Former Member
0 Kudos

Somehow I managed to get the values in the dropdown box, but now if I add more than two instances of a row, data is getting copied in the third row.

Please help, this is urgent.

regards,

Amit

Former Member
0 Kudos

Hi Amit,

The node that you bind to the table column should be in structure as given below:

Node 1 - (Cardinality 1:1) -Singleton: true-Pdf Data Source Node

(under Node1)Node 2- (Cardinality 1:1) - Singleton: true -Bind to table

(under Node2)Node3 - (Cardinality 0...n) -Singleton: true -Bind to row

(under Node3)Node4 - (Cardinality 1...n) - Singleton: false

(under Node4)Attribute1-Bind to column field

(under Node4)Attribute 2-Bind to column field

Only if your structure is like this the dynamic table will be working fine...

Hope this helps...

Thanks

Gopal

Edited by: Gopal Krishnasamy on May 30, 2008 5:43 PM

Former Member
0 Kudos

Hi Amit,

Please check the data binding of your table. Make sure that for the row the data binding is correct.

My blog on tables provides some background for you:

Link: [https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4397] [original link is broken] [original link is broken] [original link is broken];

Regards,

Juergen

Answers (1)

Answers (1)

sankar_narayana
Active Participant
0 Kudos

Hi Amit,

I could not get you what's your problem is but this link may help you for better understanding.

[http://www.adobeforums.com/webx/.3bb7d189/]

This is an Adobe forum where you can post your queries and get replies from them.

Can you clearly explain what exact result you want.