function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
raj123raj123 

rerender on the command link not re-rendering the table

Hi all, i am trying to do table sort on one of the coloum , the command link i invoking the method to do the need ful and

 

the list has the sorted records but the problem is the pageblock table is not refreshing. i have added the pageblock

 

table id in the rerender, i even tried to referesh the whole form , still no help 

 

can some one tell me whats the error

 

<apex:column >
<apex:facet name="header">
<apex:commandLink action="{!flipSortOrder}" rendered="{!sortOrder == 'asc'}" rerender="contactform,conpageno,contact,pagePanelcon" > Revisit Time &#8743; </apex:commandlink>
<apex:commandLink action="{!flipSortOrder}" rendered="{!sortOrder == 'desc'}" rerender="contactform,conpageno,contact,pagePanelcon" > Revisit Time &#8744; </apex:commandlink>
</apex:facet>
<apex:outputfield value="{!con.Revisit_Time__c}">
</apex:outputfield>
</apex:column>

jd123jd123

Hi

 

i think you given id in the Pageblocktable instead of this you can use <apex:outputpanel id="pagePanelcon"

 

raj123raj123

Still not work, i have put the whole page block table inside a output panel and rerendereing it, stillno sucess.