You need to sign in to do that
Don't have an account?
mentula
checkbox with pagination
Hi Salesforce folks
I need functionality of wrapper class with checkall functionality with pagination
Please help me with the above query I am unable continue with furthur implemetation any kind of help is much appreciated .
Hi,
Try this,
<apex:column >
<apex:facet name="header">
<apex:outputPanel >
<apex:inputCheckbox onclick="checkAll(this)" style="margin-left:11px;margin-right:11px" />
<apex:outputText >Action</apex:outputText>
</apex:outputPanel>
</apex:facet>
<apex:inputcheckbox value=........./>
</apex:column>
<script>
function checkAll(c)
{
var inputElem = document.getElementsByTagName("input");
for(var i=0; i<inputElem.length; i++)
{
inputElem[i].checked = c.checked;
}
}
</script>
Please mark this post as solved, if it helps you.
Regards,
Bharathi
Salesforce For All
Thank you for Replay me ..
but when we add pagination to this we move to next page and come back to first page checkboxs not holding checkall functionality will be un-checked how to make it as checked when we moving first page next page ....
can please help me to do this
thamks in advance