Home » File Formats » Spreadsheet_Excel_Writer » Bug #7315
Freeze Panes - error with only 2 values
Details
| Submitted | 2006-04-05 13:31 UTC |
|---|---|
| From | taggartm at gmail dot com |
| Assigned | progi1984 |
| Status | Feedback |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | 5.1.2 |
| OS | Windows 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.