Skip to content

Commit

Permalink
phpexcel: sheet name cannot be longer than 31 characters - let the de…
Browse files Browse the repository at this point in the history
…fault sheet name - close #31
  • Loading branch information
pontikis committed Aug 22, 2017
1 parent 1f15fa0 commit 692f12c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Project page https://github.com/pontikis/php_bs_grid
License [MIT](https://github.com/pontikis/php_bs_grid/blob/master/LICENSE)


Upcoming Release 0.9.7 (XX XXX 2017)
--------------------------

* phpexcel: sheet name cannot be longer than 31 characters - let the default sheet name #31

Release 0.9.6 (16 July 2017)
--------------------------

Expand Down
4 changes: 2 additions & 2 deletions php_bs_grid.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @author Christos Pontikis http://pontikis.net
* @copyright Christos Pontikis
* @license MIT http://opensource.org/licenses/MIT
* @version 0.9.6 (16 Jul 2017)
* @version 0.9.7 (XX XXX 2017)
*
*/
class php_bs_grid {
Expand Down Expand Up @@ -1015,7 +1015,7 @@ public function exportExcel() {
}

$objPHPExcel = $this->php_excel;
$objPHPExcel->getActiveSheet()->setTitle($this->export_excel_basename);
$objPHPExcel->getActiveSheet();

// header
$column_index = 0;
Expand Down

0 comments on commit 692f12c

Please sign in to comment.