Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to deselect check boxes dynamically

Former Member
0 Likes
520

Hi

I am having a requirement like i am generating a alv list, in that i have check boxes for each record . now I dont want to select more than one check box . If I select one check box dynamically should uncheck remaining all check boxes if checked flag is there.

please give me solution its an urgent.

thanks

sekhar

Edited by: Sekhar on Feb 12, 2008 12:24 PM

Hi

I am having a requirement like i am generating a alv list, in that i have check boxes for each record . now I dont want to select more than one check box . If I select one check box dynamically should uncheck remaining all check boxes if checked flag is there.

please give me solution its an urgent.

thanks

sekhar

Edited by: Sekhar on Feb 12, 2008 12:24 PM

3 REPLIES 3
Read only

Former Member
0 Likes
488

Hi,

I think for your requirement , it will be much better if you use radio buttons instead of check boxes.

In radio buttons, you cannot select more than one radio button at a time.

Try using radio buttons. I am sure it would help you.

Reward if helpful.

Regards.

Read only

Former Member
0 Likes
488

I will give you some more inputs regarding radio buttons.

Ex.

PARAMETER radio1 TYPE C RADIOBUTTON GROUP r1.

PARAMETER radio2 TYPE C RADIOBUTTON GROUP r1.

PARAMETER radio3 TYPE C RADIOBUTTON GROUP r1.

PARAMETER radio4 TYPE C RADIOBUTTON GROUP r2.

PARAMETER radio5 TYPE C RADIOBUTTON GROUP r2.

PARAMETER radio6 TYPE C RADIOBUTTON GROUP r2.

As you can see , there is a radio button group assigned to each radio button.

So in this case, you can select any one radio button from RADIOBUTTON GROUP r1 and any one radio button from RADIOBUTTON GROUP r2, but selection of more than one radio button in the same group is not possible.

Reward if useful.

Regards.

Read only

0 Likes
488

Thanks for ur suggestion but we have to work with check boxes only. please give me solution for this requirement.