original_string: public function rowClickAction(string $action): ModelList
      {
          if ( ! array_has($this->main, 'default_action')) {
              $this->main['default_action'] = [];
          }
  
          $this->main['default_action'][] = $action;
  
          return $this;
      }
code: public function rowClickAction(string $action): ModelList
      {
          if ( ! array_has($this->main, 'default_action')) {
              $this->main['default_action'] = [];
          }
  
          $this->main['default_action'][] = $action;
  
          return $this;
      }
code_tokens: public function rowClickAction ( string $ action ) : ModelList { if ( ! array_has ( $ this -> main , 'default_action' ) ) { $ this -> main [ 'default_action' ] = [ ] ; } $ this -> main [ 'default_action' ] [ ] = $ action ; return $ this ; }
docstring: Adds an action to be performed when clicking a row.
  
  Will stack if called multiple times, in order.
  The first action that is permitted, is performed.
  
  @param string $action    action alias
  @return ModelList|$this
docstring_tokens: Adds an action to be performed when clicking a row .