+ Start a Discussion
Ayyagari RameshAyyagari Ramesh 

there are two tabular section sections in VF page in which user will give input and there should be two refresh buttons to refresh the two table seperately.How can implement it?

karthikeyan perumalkarthikeyan perumal
Hello, 

This is for one table with one Refresh button. the same way you can make it for 2 tables.  i added Account as sample object. then you can include you spacified object to display records and refresh.
 
<apex:page standardController="Account">
<apex:pageBlock>
<apex:tabPanel>
<apex:tab label="Info" name="Info" id="info">
<apex:form id="InforR">
<apex:commandButton id="Ref" value="Refresh"  reRender="PageInfoTab"/>
<apex:pageBlockTable value="{!Account}" var="acc" id="PageInfoTab">
<apex:column HeaderValue="Name">
{!acc.name}
</apex:column>
</apex:pageBlockTable>
</apex:form>
</apex:tab>
</apex:tabPanel>
</apex:pageBlock>
</apex:page>

Hope this will give you some idea. 

Thanks
karthik