on 10-05-2006 7:32 AM
Hi All,
I am using RadioButtonGroupByKey.But its coming vertically.I want this to be displayed horizontally.Please help me soon.
thanx
anirudh
Hi
Create an attribute with type int and bind it to the colCount property and get the length of the radio button at runtime(Radiobuttonnode.size()) and set it to the attribute.You can get the radio button horizontally.
Kind Regards
Mukesh
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 set the colCount property accordingly to get the horizontal
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bind the RadioButtonGroupByKey.<i>selectedKey </i>property to a context attribute of type "string" (or DDIC simple type with valueset).
You can either use the static valueset from the DDIC type or modify the valueset at runtime.
To modify it, use code like
IWDAttributeInfo info = wdContext.getNodeInfo().getAttribute("<name-of-attribute>");
IModifiableSimpleValueSet valueSet = info.getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
valueSet.clear();
valueSet.put("<key1>", "<value1>");
valueSet.put("<key2>", "<value2>");
valueSet.put("<key3>", "<value3>");
Then you will get 3 radio buttons displaying "value1", "value2", "value3". Selecting a button will set the context attribute to the corresponding key.
Set RadioButtonGroupByKey.<i>colCount </i>= 3 to get them in one row.
Armin
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.