on 04-11-2008 8:45 AM
Dear all,
I have a table which contains the data i get from RFC.Each and every rows of data got one add button,user can click the add,and the particular record will be copy and be added to the following rows. which mean if i got 3 records,if i select the add button at 2nd records,means,i will add a new record ( wif all the details of 2nd records) at 3rd line of the table.n my table now have a total of 4 records. Any idea how to do it ?i used the following code at the add button but i get the error
cannot bind or add element, because it is already bound to a node
pls help.thx
my code are as below:
int leadSelect = wdContext.nodePOItem().getLeadSelection();
int index = leadSelect + 1;
IPrivateGrAppView.IPOItemElement myElement = (IPrivateGrAppView.IPOItemElement) wdContext.nodePOItem().getPOItemElementAt(leadSelect);
wdContext.nodePOItem().addElement(index,myElement);
solved by myself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.