+ Start a Discussion
hisrinuhisrinu 

Help on Select all checkbox in Data Table.........

Hi,

 

 I have placed the checkboxes for all the columns in the data table. When I select the header checkbox, it should select all the checkboxes. Any help on this.

 

On click of the header checkbox it should select all the checkboxes in that data table.

Any help on this.........

 

Best Answer chosen by Admin (Salesforce Developers) 
hisrinuhisrinu

Hi,

 

 Please find the link for the check box in a data table.

http://wiki.apexdevnet.com/index.php/Checkbox_in_DataTable

 

All Answers

TehNrdTehNrd
This should help:

http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=7689&query.id=20091#M7689
hisrinuhisrinu
So finally we need to use java script only:smileysad:
hisrinuhisrinu

Hi,

 

 Please find the link for the check box in a data table.

http://wiki.apexdevnet.com/index.php/Checkbox_in_DataTable

 

This was selected as the best answer
partha_cegpartha_ceg

check this javaascript way for elegant and faster action. I found the controller way very slow.