on 12-08-2008 6:33 AM
Hi Experts
I need edit table in webdynpro by clicking one button
can you please provide me the code how can i do it .
Thanks in Advance
Kumar
Hai Kiran ,
if the Table node contain property of cordinality as 1--n then
initailly one row will editable by default.
by action u get the record into table . and do modification .
i can tell follow above raghu code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create an element for the node bound to the table.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can do it, Just select Table cell as InputField and then you can go ahead changing your data and finally under your button implementation you can set the attribute which you have changed like
for(int i=0;i<wdContext.nodeXXX().size().i++)
//create an element ele
ele.setAttribute(wdContext.nodeXXX().getXXXelementAt(i).getAttribute())
//bind the ele (element) to node like wdContext.nodeXXX().add(ele);
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.