src/Table/Renderer/Bootstrap.php
public function text(Column\Text $column, array $row)
    {

        $attributes = $column->getAttributes();

        if($column->hasTooltip()){
            $attributes += [
                'data-placement' => $column->getTooltipPosition(),
                'data-original-title' => $column->getValue($row),
                'data-toggle' => 'tooltip'
            ];

            $html = html('div', $attributes, str_limit($column->getValue($row), 70));
        } else {
            $html = html('span',$attributes, $column->getValue($row));
        }

        return $this->post($html, $column, $row);
    }
public function text(Column\Text $column, array $row)
    {

        $attributes = $column->getAttributes();

        if($column->hasTooltip()){
            $attributes += [
                'data-placement' => $column->getTooltipPosition(),
                'data-original-title' => $column->getValue($row),
                'data-toggle' => 'tooltip'
            ];

            $html = html('div', $attributes, str_limit($column->getValue($row), 70));
        } else {
            $html = html('span',$attributes, $column->getValue($row));
        }

        return $this->post($html, $column, $row);
    }
public function text ( Column \ Text $ column , array $ row ) { $ attributes = $ column -> getAttributes ( ) ; if ( $ column -> hasTooltip ( ) ) { $ attributes += [ 'data-placement' => $ column -> getTooltipPosition ( ) , 'data-original-title' => $ column -> getValue ( $ row ) , 'data-toggle' => 'tooltip' ] ; $ html = html ( 'div' , $ attributes , str_limit ( $ column -> getValue ( $ row ) , 70 ) ) ; } else { $ html = html ( 'span' , $ attributes , $ column -> getValue ( $ row ) ) ; } return $ this -> post ( $ html , $ column , $ row ) ; }
Render text column

@param \FrenchFrogs\Table\Column\Text $column
@param array $row
@return mixed|string
Render text column