cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple rows in a single table cell - Adobe forms

Former Member
0 Kudos

Dear All

I am developing an adobe form which conatins a table alongwith other screen/ form elements.

This table is bound to a data node and contains only two columns. Number of rows will be determined at run time.

Each cell of the table will contain three rows seperated by a space in between them. Please refer to the diagram below for more understanding.

-


Yes

ABC

No

PQR

Not Known

XYZ

-


I have no idea how to achieve this. Can anyone help?

Regards

Vineet Vikram

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved issue using sub forms.

Former Member
0 Kudos

Hi,

I had the same requirement same like you...

Let me explaing you my case...

I have three values in an attribute of a node, say "Yes","No","Not Known". I have to show this values in a single table cell like

-


Yes

No

Not Known

-


I have done this taking a StringBuffer

Lets say this values "Yes","No",:Not Known" are coming in a value attribute "Name" of node called Sourcenode.

StringBuffer objStrBuf = new StringBuffer();

IPrivate<ViewName>.ITargetNodeElement objNodele = null;

for(int iCount=0;iCount<wdContext.nodeSourcenode ().size();iCount++)

{

objStrBuf .append(wdContext.nodeSourcenode().getnodeSourcenodeElementAt(iCount).getName());

objStrBuf.append("\n");

}

objNodele = wdContext.createTargetNodeElement();

objNodele.setName(objStrBuf);

Check by any chance it will suite your requirement.

Regards,

Saleem