on 03-11-2008 10:57 AM
I have a internal table which have two fields , and i have to show both these fields in the dropdown.
so please provide your helpful answer for the same.
Thanks in advance.
Upendra.
Hi ,
1) you can use EVS here, works a key value pair.
2)create anode and an attribute under that bind node to drop down by index UI .
try
{
IPrivate<view>.I<viewNode> node=wdContext.node<node>();
List lis=new ArrayList();
for(int i=0;i<wdcontext.node<tableoutptu>.size;i++)
{
if(i==0)
{
IPrivate<view>.InodeElement ele = node.create<node>Element();
ele.set<att>("get field1"+" " +"get field2");
lis.add(ele);
}
node.bind(lis);
}
catch(Exception e)
{
}
Thanks,
Sunitha Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
THANKs everyone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi upendra agrawal,
1. first u create a node called---->Table_node
2. under Table_node u create two attributes
--->ctx_ddFirst
--->ctx_ddSecond
3. insert the TableUI element
4.go to TableUI rightclick--->create binding
5.choose ur node and attribute then click next
6. go to Editor choose what ever u want dropdownbyIndex or DropdownbyKey
7. finally click finish
that's it
Regards,
P.Manivannan
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.