on 10-17-2010 9:27 AM
Hello Experts,
I have a requirement where i have to replace the table cell elements at runtime.
lets say for example i have a node structure like this:
Root Node
table Node data
cell 1 (Name)
cell 2 (Description)
Now once the table rendered on Adobe form let say it has 2 rows
1st row : Test name1 | Test description1
2nd row: Test name2 | Test description2
now for display i have to show on form like this:
1st row : Test name1 | Test name2
2nd row: Test description1 | Test description2
Constraint is i cant change table node structure ,Now i was thinking if i could replace row 2 cell 1 ui element with row 1 cell 2 ui element at runtime in table without changing the mapped values.
Please let me know how i can achieve this or if is there any alternative way to do this.
Any inputs and help are most welcome.
Thanks,
Siddharth
Hi Siddharth,
You can achieve you requirement by creating table using subforms instead of using normal Table UI element.
Create the Table structure this way.
Table(Subform)
-
Row(Subform)
-
Name (TextField)
-
Description(TextField)
Put the name and description field in single column. Bind the table subform with node Data and set the property like this :
Content : Flowed
Flow Direction : Western Text
also check the "Repeat the subform for Each Data item" property.
Set the property of the Subform Row like this:
Content : Flowed
Flow Direction : top To bottom
Bind the Name & Description text field with the proper context.
Thanks & regards
Ravindra Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Appreciate your help Ravindra ,I try this and let u know the results
Thanks,
Siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Experts,
Any Inputs ,Suggestions,Thoughts.
Thanks,
Siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.