Ublaboo\DataGrid\DataGrid::handleActionCallback PHP Method

handleActionCallback() public method

public handleActionCallback ( $__key, $__id )
    public function handleActionCallback($__key, $__id)
    {
        $action = $this->getAction($__key);
        if (!$action instanceof Column\ActionCallback) {
            throw new DataGridException("Action [{$__key}] does not exist or is not an callback aciton.");
        }
        $action->onClick($__id);
    }
DataGrid