src/Grid.php
public function addPopup($columnName, $popup = null, $icon = 'caret square down')
    {
        $column = $this->table->columns[$columnName];
        if (!isset($column)) {
            throw new Exception('The column where you want to add popup does not exist: '.$columnName);
        }

        return $column->addPopup($popup, $icon);
    }
public function addPopup($columnName, $popup = null, $icon = 'caret square down')
    {
        $column = $this->table->columns[$columnName];
        if (!isset($column)) {
            throw new Exception('The column where you want to add popup does not exist: '.$columnName);
        }

        return $column->addPopup($popup, $icon);
    }
public function addPopup ( $ columnName , $ popup = null , $ icon = 'caret square down' ) { $ column = $ this -> table -> columns [ $ columnName ] ; if ( ! isset ( $ column ) ) { throw new Exception ( 'The column where you want to add popup does not exist: ' . $ columnName ) ; } return $ column -> addPopup ( $ popup , $ icon ) ; }
Add a popup to header column.

@param string $columnName The name of column where to add popup.
@param Popup  $popup      Popup view.
@param string $icon       The icon.

@throws Exception

@return mixed
Add a popup to header column .