You need to sign in to do that
Don't have an account?
ran67
delete the record from the pageblocktable
Hi i want to delete the record from the pageblocktable when the user uncheck the checkbox from that column.itmust delete the specfice record from account object..cn anyone help me
thanks in advance
It would be easier to build a commandLink or commandButton to do this for you but you could use this tag.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionFunction.htm?SearchType=Stem&Highlight=actionFunction
When using Javascript, just call the function and rerender the page when the checkbox has been checked.
You can also use an actionFunction control to delete the record from the DB as well as the collection that the pageBlockTable is bound to. If using AJAX, it will look very smooth.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionFunction.htm