PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » Spreadsheet_Excel_Writer » Bug #7315

Freeze Panes - error with only 2 values

Details

Submitted2006-04-05 13:31 UTC
Fromtaggartm at gmail dot com
Assignedprogi1984
StatusFeedback
PackageSpreadsheet_Excel_Writer
PHP Version5.1.2
OSWindows XP
Roadmaps(Not assigned)

Comments

[2006-04-05 13:31 UTC] taggartm at gmail dot com

Description:
------------
The documentation states that this should work to freeze the first 6 rows of a worksheets. $worksheet->freezePanes(array(6, 0)); This actually generates an error saying it can't find reference 2 and 3. If you specify all the values then it works just fine.
$worksheet->freezePanes(array(6, 0, 0, 0));
Either the code needs to be changed to test how many values are present in the array or the documentation needs to be changed to say it needs all the values.