Bug #7315 [NEW]: Freeze Panes - error with only 2 values
| From: | taggartm at gmail dot com | Date: | Wed, 05 Apr 2006 13:31:01 +0000 |
| Subject: | Bug #7315 [NEW]: Freeze Panes - error with only 2 values | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7728@lists.php.net to get a copy of this message | ||
From: taggartm at gmail dot com
Operating system: Windows XP
Package version:
PHP version: 5.1.2
Package: Documentation
Bug Type: Bug
Bug description: Freeze Panes - error with only 2 values
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.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=7315&edit=1
--