on 07-25-2006 12:19 PM
Hello,
i have dropdownByKey in a table as tablecelleditor. For selecting values i have in dictionary type with Simple Type Enumeration. There i have two records - 1 => one(description), 2 => two and i would like to add third record - value=0 and description as empty string. How may i do that in dropdown will be empty string with a key 0?
thanks
JJ
Hi,
You cant get Empty Description Directly. Create a Enumeration Value with empty (Single Space) and the description also.
You can access it with below code.
String testVal = wdContext.currentContextElement().getDropDownVal();
if(testVal.equalsIgnoreCase(" ")){
manager.reportSuccess("Empty "+testVal);
// Empty Description Value one
}
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jiri,
If your description is empty. If it is bind to the attribute and bind to the Dropdownbykey, It looks empty
Regards
Sarvanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you check cardinaliry?.Can you explain more?
Kind 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 |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.