title: Salesforce-Not able to update records after being changed in a pageblock table having inline editing
body: <p>I have created a search query which returns the records in a table. I have used  command in the records returned so that i can edit them and save them in the table only. But after changing the records in the table and clicking on the SAVE button, I am  not able to update the the records in the table. How can I use 'rerender' to show the updated data? The page code and controller action I'm using are below:</p>
  
  <pre><code>&lt;!-- Page --&gt;
  &lt;apex:pageBlock id="pb1"&gt;
    &lt;apex:outputPanel id="pan"&gt;
      &lt;apex:pageBlockTable value="{!l1}" var="k" rendered="{!flag}" id="pb"&gt;
        &lt;apex:column value="{!k.First_Name__c}"/&gt;
        &lt;apex:inlineEditSupport showOnEdit="saveButton, cancelButton" hideOnEdit="editButton" event="ondblclick" changedStyleClass="myBoldClass" resetFunction="resetInlineEdit"/&gt;
        &lt;apex:column value="{!k.Last_Name__c}"/&gt;
        &lt;apex:inlineEditSupport event="ondblclick" showOnEdit="save"/&gt;
        &lt;apex:column value="{!k.E_mail__c}"/&gt;
        &lt;apex:inlineEditSupport event="ondblclick" showOnEdit="save"/&gt;
        &lt;apex:column value="{!k.Employee_ID__c}"/&gt;
        &lt;apex:commandButton action="{!save}" id="saveButton" value="Save" /&gt;
      &lt;/apex:pageBlockTable&gt;
    &lt;/apex:outputPanel&gt;
  
    &lt;apex:commandButton action="{!edit}" id="editButton" value="Edit"/&gt;
    &lt;apex:commandButton action="{!save}" id="saveButton" value="Save"/&gt;
    &lt;apex:actionSupport event="onclick" rerender="pan" status="refreshstatus"/&gt;
    &lt;apex:commandButton onclick="resetInlineEdit()" id="cancelButton" value="Cancel"/&gt;
    &lt;apex:actionStatus id="refreshstatus" startstyle="color:green;" startText="Saving...."&gt;
    &lt;/apex:actionStatus&gt;
  &lt;/apex:pageBlock&gt; 
  
  // controller action
  public pagereference save(){update l1;return null;}}
  </code></pre>