on 12-08-2008 8:31 AM
Hi Guys,
I have a Table that uses a Master Column. I need to have a field that uses a Radio Button type cell editor. A user should only be ably to select ONE row via the Radio Button at a time.
I have done all this but I only seem to be able to select multiple radio buttons instead of only one. It is like the radio buttons do not get "regognised" as a group. Could you please advise as I probably set the "keyToSelect" and "selectedKey" properties incorrectly.
tks
Christiaan
I think the following should work:
Context:
Rows (node,c=0:n)
--- rowIndex (integer)
selectedRowIndex (integer)
Bind the "selectedKey" property of the radio button (cell editor) to attribute "selectedRowIndex" (outside table data source node) and bind "keyToSelect" to attribute "Rows.rowIndex". Make sure that the "rowIndex" attribute will contain the index of the node element in node "Rows".
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Try like this.
Insert a column in your table.
in that insert Table cell editor of type Radiobutton.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
yes, its true that the radio buttons are not getting recognized as a group.
but we are not having the radio button group by key option for a cell editor..
if i am right u have a column in which u have a radio button in each row in some field and u want only one row to be selected at a time right?
can u tell how did u bind the keyToSelect property ?
Regards,
Satya
hi,
use a radio button group by key
Regards,
Satya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.