Ublaboo\DataGrid\Column\ItemDetail::render PHP Method

render() public method

Render item detail
public render ( mixed $item ) : mixed
$item mixed
return mixed
    public function render($item)
    {
        if ($this->getType() == 'block') {
            throw new DataGridItemDetailException('ItemDetail is set to render as block, but block #detail is not defined');
        }
        return call_user_func($this->getRenderer(), $item);
    }