cancel
Showing results for 
Search instead for 
Did you mean: 

How to replace table cell elements position

siddharth_jain
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

siddharth_jain
Active Contributor
0 Kudos

Appreciate your help Ravindra ,I try this and let u know the results

Thanks,

Siddharth

OttoGold
Active Contributor
0 Kudos

Hello, I wonder what was the result of the test? Or did you use any other approach to successfully resolve your problem?

Feedback is always welcome, Otto

siddharth_jain
Active Contributor
0 Kudos

Hello Experts,

Any Inputs ,Suggestions,Thoughts.

Thanks,

Siddharth