title: WordPress - Creating Inline Editing for Custom Admin Tables?
body: <p>I am writing a custom plugin for a client and I was able to create custom admin tables based on custom database tables using the "Custom List Table Example" plugin as a guide.</p>
  
  <p>However, I cannot seem to find any information on how to create inline "edit"/"view more" expanded views for a column. For instance, when you go to the "Posts" admin page there is an option to "Quick Edit" a post under the "Title" column and then an expanded view appears with fields to edit the post. </p>
  
  <p>I was able to create the following action links by using the following code:</p>
  
  <pre><code>function column_order_ID($item){
  
          //Build row actions
          $actions = array(
              'view_more'      =&gt; sprintf('&lt;a href="?page=%s&amp;action=%s&amp;order_ID=%s"&gt;View More&lt;/a&gt;',$_REQUEST['page'],'edit',$item['order_ID']),
              'delete'    =&gt; sprintf('&lt;a href="?page=%s&amp;action=%s&amp;order=%s"&gt;Delete&lt;/a&gt;',$_REQUEST['page'],'delete',$item['ID']),
          );
  
          //Return the title contents
          return sprintf('%1$s &lt;span style="color:silver"&gt;&lt;/span&gt;%3$s',
              /*$1%s*/ $item['order_ID'],
              /*$2%s*/ $item['ID'],
              /*$3%s*/ $this-&gt;row_actions($actions)
          );
      }
  </code></pre>
  
  <p>As of right now I am unsure how the "View More" action can be linked to the code that creates the expanded view within the table. </p>
  
  <p>What are best practices with this or is there a tutorial anyone can point me to that I may have missed? Any help will be greatly appreciated!</p>