You need to sign in to do that
Don't have an account?

Selection of multiple items from table.
I have a page where depending upon certain criteria I will be searching contacts and showing them on table. Now I want to provided functionality where user would be able to select some contacts for deletion and there would be a button for deleting selected contacts. I am not sure how will I enable multiple selection of rows from table. Any pointers would be heplful. Thanks in advance.
Hi,
You can add checkbox in front of all rows to select the particular records by using wrapper class.Wrapper class binds the different types of datatype value in one class,there are the following link which contains the good example :
http://wiki.developerforce.com/page/Wrapper_Class
http://cloudforce4u.blogspot.in/2013/06/how-to-use-wrapper-class-in.html
http://www.interactiveties.com/blog/2012/visualforce-wrapper-class.php
Please let me know if u have any query on same and is this post helps u plz give KUDOS by click on star at left
All Answers
Hi,
You can add checkbox in front of all rows to select the particular records by using wrapper class.Wrapper class binds the different types of datatype value in one class,there are the following link which contains the good example :
http://wiki.developerforce.com/page/Wrapper_Class
http://cloudforce4u.blogspot.in/2013/06/how-to-use-wrapper-class-in.html
http://www.interactiveties.com/blog/2012/visualforce-wrapper-class.php
Please let me know if u have any query on same and is this post helps u plz give KUDOS by click on star at left