private function fetchDataByUserFunc($c, $data, $column, $row, $header, $heightc) {
        if (!$header && is_callable($c['renderer'])) {
            $data = $c['renderer']($this, $data, $row, $column, $heightc);
        } elseif ($header && is_callable($c['headerRenderer'])) {
            $data = $c['headerRenderer']($this, $data, $row, $column, $heightc);
        }
        return $data;
    }
private function fetchDataByUserFunc($c, $data, $column, $row, $header, $heightc) {
        if (!$header && is_callable($c['renderer'])) {
            $data = $c['renderer']($this, $data, $row, $column, $heightc);
        } elseif ($header && is_callable($c['headerRenderer'])) {
            $data = $c['headerRenderer']($this, $data, $row, $column, $heightc);
        }
        return $data;
    }
private function fetchDataByUserFunc ( $ c , $ data , $ column , $ row , $ header , $ heightc ) { if ( ! $ header && is_callable ( $ c [ 'renderer' ] ) ) { $ data = $ c [ 'renderer' ] ( $ this , $ data , $ row , $ column , $ heightc ) ; } elseif ( $ header && is_callable ( $ c [ 'headerRenderer' ] ) ) { $ data = $ c [ 'headerRenderer' ] ( $ this , $ data , $ row , $ column , $ heightc ) ; } return $ data ; }
Get data by user function, if it exists

@param array $c the column definition
@param mixed $data data to draw inside the cell
@param string $column column string index
@param array|object $row all datas for this line
@param bool $header true if we draw header cell
@param bool $heightc determine if we are in height calculation or not
@return mixed
Get data by user function if it exists