 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
IRG
Joined: 10 Jun 2009 Posts: 9 Location: london
|
Posted: Wed Jul 01, 2009 1:38 pm Post subject: element grid - how to group elements |
|
|
Hi all,
Is there a way to group elements in ElementGrid? I would like to group elements in each row as I need to have radio buttons acting as a group. If I create an array of radio buttons and then use addGroup command to create a group I end up with a row behaving like a group but then there is another row of radio buttons appearing underneath my grid. I had a look at the generated html code and I have something like this:
A generated row in ElementGrid. As you can see the name is blank.
| Code: |
<tr>
<th class="elementGridRowLabel">Conventional, uncreative</th>
<td><input value="1" type="radio" id="qf_750f03" name="" /></td>
<td><input value="2" type="radio" id="qf_f0f0d4" name="" /></td>
<td><input value="3" type="radio" id="qf_77d08f" name="" /></td>
<td><input value="4" type="radio" id="qf_bac40c" name="" /></td>
<td><input value="5" type="radio" id="qf_7a922d" name="" /></td>
<td><input value="6" type="radio" id="qf_ae7e5f" name="" /></td>
<td><input value="7" type="radio" id="qf_9aeb84" name="" /></td>
</tr>
|
and then underneath it
| Code: | <tr>
<td align="left"><input value="1" type="radio" id="qf_750f03" name="SQ10" /> <input value="2" type="radio" id="qf_f0f0d4" name="SQ10" /> <input value="3" type="radio" id="qf_77d08f" name="SQ10" /> <input value="4" type="radio" id="qf_bac40c" name="SQ10" /> <input value="5" type="radio" id="qf_7a922d" name="SQ10" /> <input value="6" type="radio" id="qf_ae7e5f" name="SQ10" /> <input value="7" type="radio" id="qf_9aeb84" name="SQ10" /></td>
</tr> |
I have all my radio buttons with the same id as in the grid but the group name has been added.
Please help!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|