on 03-09-2006 4:38 AM
Hai all,
I have some problems in dynamic creation of RadioButtonGroupbyIndex and DropdownbyIndex. I have create seperate node for both Element and bind to it. It sucessfully load the values from the database and displayed.
My problem is, Suppose i want to set some value as defalut while loading the RadioButtonGroupbyIndex and DropdownbyIndex. How it possible?. That means i have to set some values as defalut selection in both cases. It is fully on the dynamic.
In my dropdown one empty value is displayed. How to remove from the dropdown?
Thanks in Advance,
S.Mukesh Mani.
Hi Mukesh,
To remove the empty value from dropdown set the selection property of context node which is binded to dropdown to 1...1 for simgle selection aor 1.....n for multiple selection.....and for setting the default values if u r copying the datafrom model nodes to value nodes than u can add the data using the createELement() of node element and then set the data u want and bind it to the node .....
Regards,
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yash,
Thanks for your reply. I want to delete the blank line from the dropdown which is created dynamic. I have the node like following.
IWDNode node1 = wdContext.nodeNodeA().getChildNode("NodeA", IWDNode.LEAD_SELECTION);
Here i have the node object like node1. I tried the following methods..
node1.setSelected(0,false); or
node1.setSelected(0,true); or
node1.setSelected(1,false); or
node1.setSelected(1,true); or
node1.setLeadSelection(0); or
node1.setLeadSelection(1); or
node1.setLeadSelection(-1); or
In some methods i got errors. Can you tell me which method i have to use to remove blank row from the dropdown.
Regards,
S.Saravanan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
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.