src/Html/HasTable.php
protected function compileTableHeaders()
    {
        $th = [];
        foreach ($this->collection->toArray() as $row) {
            $thAttr = $this->html->attributes(array_merge(
                array_only($row, ['class', 'id', 'title', 'width', 'style', 'data-class', 'data-hide']),
                $row['attributes']
            ));
            $th[] = '<th ' . $thAttr . '>' . $row['title'] . '</th>';
        }

        return $th;
    }
protected function compileTableHeaders()
    {
        $th = [];
        foreach ($this->collection->toArray() as $row) {
            $thAttr = $this->html->attributes(array_merge(
                array_only($row, ['class', 'id', 'title', 'width', 'style', 'data-class', 'data-hide']),
                $row['attributes']
            ));
            $th[] = '<th ' . $thAttr . '>' . $row['title'] . '</th>';
        }

        return $th;
    }
protected function compileTableHeaders ( ) { $ th = [ ] ; foreach ( $ this -> collection -> toArray ( ) as $ row ) { $ thAttr = $ this -> html -> attributes ( array_merge ( array_only ( $ row , [ 'class' , 'id' , 'title' , 'width' , 'style' , 'data-class' , 'data-hide' ] ) , $ row [ 'attributes' ] ) ) ; $ th [ ] = '<th ' . $ thAttr . '>' . $ row [ 'title' ] . '</th>' ; } return $ th ; }
Compile table headers and to support responsive extension.

@return array
Compile table headers and to support responsive extension .