cancel
Showing results for 
Search instead for 
Did you mean: 

How to check all and uncheck all checkboxes ?

former_member576008
Active Participant
0 Kudos

Hi,

I am having more than 30 check boxes, when a check box is clicked, its corresponding subcheck boxes should be checked and the same for unchecked also.

I dont want the solution like, when the main check box is clicked capturing the event in do handle event and assiging 'X' to all its sub components. Is their any other logic, to do this without hardcoding these things?

Thnx

Accepted Solutions (1)

Accepted Solutions (1)

former_member184111
Active Contributor
0 Kudos

Hi ,

Have a look at the methods

CHECK_TABLEVIEW_ALL_ROWS and CHECK_TABLEVIEW_ROW

of the class CL_HTMLB_MANAGER

Regards,

Anubhav.

Answers (2)

Answers (2)

former_member576008
Active Participant
0 Kudos

got it thanks

Former Member
0 Kudos

In standard BSP example HTMLB_SAMPLES, go with checkbox.htm page.