title: How to add custom button action in list make by HelpList class in PrestaShop?
body: <p>Hello I'm developing new payment plugin for PrestaShop 1.6. I made functionality for listing all payment request made by my plugin via HelpList class. Is there a way for add custom button action and manipulation each of row in mu list? I search a solution with not successes. </p>
  
  <p>Thanks for help! Cheers!  </p>
  
  <p>This is a my Admin  Controler class.</p>
  
  <pre><code>class AdminNameModuleController extends ModuleAdminController {
  
  public function __construct()
  {
  
      // Call of the parent constructor method
      parent::__construct();
  
  
      // Add actions
      //$this-&gt;addRowAction('view');
      //$this-&gt;addRowAction('delete');
      $this-&gt;addRowAction('test');
  }
  
  public function initToolbar()
  {
      $this-&gt;toolbar_btn = array();
  }
  
  public function processTest()
  {
      // Do your button processing here
  }
  
  public function displayTestLink($token = null, $id, $name = null)
  {
      $tpl = $this-&gt;createTemplate('helpers/list/list_action_test.tpl');
  
      $tpl-&gt;assign(array(
          'href' =&gt; self::$currentIndex.'&amp;token='.$this-&gt;token.'&amp;
                       '.$this-&gt;identifier.'='.$id.'&amp;test'.$this-&gt;table.'=1',
              'action' =&gt; $this-&gt;l('Test')
      ));
  
      return $tpl-&gt;fetch();
  }
  
  
  public function initProcess()
  {
  
      parent::initProcess();
  
      if (Tools::getValue('test'.$this-&gt;table))
      {
          $this-&gt;display = 'test';
          $this-&gt;action = 'test';
      }
  
  }
  }
  </code></pre>