Skip to Content
0
Former Member
Jun 15, 2009 at 10:50 AM

tableUI with multiple rows as input element.

16 Views

hi Expert,

I am working on an application. Where i am enterin data in rows of table A.

I have used two tables A and B. I want to move all data from table A to B.

the code i have used is

for(int i=0; i<size; i++)

{

wdContext.nodeA.getElementAt(i);

elm = wdContext.createBElement();

elm.setPlace_Form(wdContext.nodeB().getBElementAt(i).getPlace_Form());

elm.setPlace_to(wdContext.nodeB().getBElementAt(i).getPlace_Form());

wdContext.nodeA().addElement(elm);

}

the problem i facing is when this code works it takes the last row and displays the same row in the entire table B instead of all the rows.

I got some hint to use arrays but not able to sucessfully try it please help with any code sample.

Regards,

Sanjyoti.