
July 2nd, 2009, 07:28 AM
|
|
Registered User
|
|
Join Date: Jul 2009
Posts: 2
Time spent in forums: 56 m 4 sec
Reputation Power: 0
|
|
|
Element grid - radio buttons group
Hi all,
I need to create an element grid which contains radio buttons but they need to behave like a group for each row. Is there a way to do it? I tried to use addGroup but ended up with a duplicate row of radio buttons below the element grid. I had a look at the generated html code and there are 2 groups of elements with the same id.
The code below came from a grid row. As you can see the name is empty
Code:
<tr>
<th class="elementGridRowLabel">Extraverted, enthusiastic</th>
<td><input value="1" type="radio" id="qf_728a4a" name="" /></td>
<td><input value="2" type="radio" id="qf_a11fe4" name="" /></td>
<td><input value="3" type="radio" id="qf_a50999" name="" /></td>
<td><input value="4" type="radio" id="qf_2e5e04" name="" /></td>
<td><input value="5" type="radio" id="qf_96bc5a" name="" /></td>
<td><input value="6" type="radio" id="qf_ffd7d7" name="" /></td>
<td><input value="7" type="radio" id="qf_8b0882" name="" /></td>
</tr>
and below there is a row of radio buttons with exactly the same id and they have a group name
Code:
<tr>
<td align="left"><input value="1" type="radio" id="qf_728a4a" name="SQ1" /> <input value="2" type="radio" id="qf_a11fe4" name="SQ1" /> <input value="3" type="radio" id="qf_a50999" name="SQ1" /> <input value="4" type="radio" id="qf_2e5e04" name="SQ1" /> <input value="5" type="radio" id="qf_96bc5a" name="SQ1" /> <input value="6" type="radio" id="qf_ffd7d7" name="SQ1" /> <input value="7" type="radio" id="qf_8b0882" name="SQ1" /></td>
</tr>
Please help!!!!!!!!!
|