src/TableColumn/jsHeader.php
public function onSelectItem($fx)
    {
        if (is_callable($fx)) {
            if ($this->triggered()) {
                $param = [$_GET['id'],  @$_GET['item']];
                $this->set(function () use ($fx, $param) {
                    return call_user_func_array($fx, $param);
                });
            }
        }
    }
public function onSelectItem($fx)
    {
        if (is_callable($fx)) {
            if ($this->triggered()) {
                $param = [$_GET['id'],  @$_GET['item']];
                $this->set(function () use ($fx, $param) {
                    return call_user_func_array($fx, $param);
                });
            }
        }
    }
public function onSelectItem ( $ fx ) { if ( is_callable ( $ fx ) ) { if ( $ this -> triggered ( ) ) { $ param = [ $ _GET [ 'id' ] , @ $ _GET [ 'item' ] ] ; $ this -> set ( function ( ) use ( $ fx , $ param ) { return call_user_func_array ( $ fx , $ param ) ; } ) ; } } }
Function to call when header menu item is select.

@param callable $fx
Function to call when header menu item is select .