So after I have added the reRender
to the commandButton
I do not see the pagination and if I remove the reRender the pagination works, after spent good amount of time and could not able to figure out and I'm positive that its not finding the Id
of the apex:dataTable
? so I looked at the developer console the Id that is generating so the Id
is something like this: SearchPage:myform:pb1
So, I tried something like this: but did not work
<apex:commandButton value="Rerender table" action="{!abc}"
reRender="SearchPage:myform:pb1"/>
Error:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://xxxx.salesforce.com') does not match the recipient window's origin ('null').
<apex:commandButton value="Rerender table" action="{!abc}" reRender="pb1"/>
<apex:pageBlock columns="1" id="pb1">
<apex:dataTable value="{!abc}" var="wrsa" >
......
......
</apex:dataTable>
</apex:pageBlock >
</apex:pageBlock>