on 12-19-2007 10:46 AM
Hi
I have one table which is bound to the RFC.
I want to keep one of the columns from the table as an input field , and according to the entry in that i/p field corresponding
values should get displayed in the other columns on the click of submit button.
Is it possible?
Thanks
Prajakta..
Hi,
Make this attribute calculated and do the relevant code in set/get methods.
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 Prajakta,
It is possible. You have to loop in the table to get values. Create a value node and bind this to table.
Use this code: Say your node name is <Tablenode>
In wdDoInit()
//Create empty elements
int size= <no. of rows you want>
IPrivate<viewname>.I<Tablenode>Element = ele;
for (int i=0;i< size;i++)
{
ele = wdContext.node<Tablenode>().create<Tablenode>Element();
wdContext.node<Tablenode>().add(ele);
}
in onActionSubmit()
you can get the attribute value of input field using this
wdContext.node<Tablenode>().get<Tablenode>ElementAt(i).get<attributename>()
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.