Dear Experts,
I am having issues in getting a radio button to work inside a WD table. I searched the forum and tried several suggestions but all the buttons are getting displayed as selected. Can some please give me the steps on how to accomplish this? Thanks in advance for your help.
Abu
Hi,
Please go through the below links for using a RadioButton in Table:
Selection of row in Table using radiobutton
How to use Radiobutton Cell Editor in Table using Master Column
Regards,
Poojith MV
When you insert a radio button column in a table,
You have two properties for that table cell editor.
1. Key to select (Attribute RadioButton1, keep this outside table node)
2. Selected Key (Attribute SelectedKey. keep this one inside table node)
set the values for the radiobutton attributes in key to select.
If there are more than one radio button columns in a table to be selected,
Map the same selected key attribute to all the radio button table cell editor.
When you want to read the selected radio button in a row,
use getSelectedKey();
This will get you to the value of the selected radio button in a row.
Regards,
Hanif
Edited by: Hanif Kukkalli on Oct 13, 2010 11:53 AM
If this is for lead select kind of radio button.
then place KeyToSelect attribute inside table node and SelectedKey attribute in the context node.
bind KeyToSelect to key to select property in the radio button column table cell editor and
SelectedKey to selected key property in the radio button column table cell editor
Create values for the check box rows for the KeyToSelect attribute.
U can get the selected row when any radio button is selected in that column.
Add a comment