2006 Nov 18 12:59 PM
Hi,
Can anyone suggest how to use a radio button in table control? My requirement is such that for each line i need a group of radio button from which one has to be chosen. This has to be repeated for all lines.
Please suggest any methods.
Hi,
Can anyone suggest how to use a radio button in table control? My requirement is such that for each line i need a group of radio button from which one has to be chosen. This has to be repeated for all lines.
Please suggest any methods.
2006 Nov 18 1:12 PM
Hi
U have to insert some flag fields (as radiobutton) in the table control and group them.
So if a radiobutton is select the corresponding field will have the value X, else SPACE.
Max
2006 Nov 20 3:20 AM
Hi Kaushal, Welcome to SDN.
It is very simple to Add RadioButtons in Table control, After creating the Table control in Screen painter, Drag and Drop the Radiobutton inside table control at whatever position you want, Give Some name to Radio Button(R1), do the same for different Radio Button(R2, R3...), so now you can see Radio buttons in all the lines inside table control, Press Ctlr(control key) and select all the Radiobutton in the First Row, Right-Click and say Radio-button -> Define(now u r grouping the Radiobuttons), after this design, in Your Code u can use 'X', If R1 = 'X'..... and carry on with your Logics. Hope this solves your Problem. Reward Points if your Problem is solved.
Cheers...
Santosh
2022 Feb 17 1:48 AM
2006 Nov 20 12:47 PM
Thanks Santosh and Max for replying.
I have tried inserting the radio button to the table control and checking its value for 'X' but my requirement is that for a column more than one radio button can be chosed. So is there a way that i can assign the radio button of a single column to different group?
2006 Nov 23 2:52 AM
Yes u can always assign the Radio button in table controls for different groups, one suggestion, i thing checkbox shud solve ur issue, Anyway could you give me the exact Requirement, so that i can propose the solution in a better way.
Regards:-
Santosh
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |