Improve documentation wording
This commit is contained in:
parent
c3bb4245b3
commit
08525a10c1
|
@ -1,4 +1,4 @@
|
|||
# PHPExcel AutoFilter Reference
|
||||
# PHPExcel AutoFilter Reference
|
||||
|
||||
|
||||
## AutoFilters
|
||||
|
@ -7,7 +7,7 @@ Each worksheet in an Excel Workbook can contain a single autoFilter range. Filte
|
|||
|
||||
![01-01-autofilter.png](./images/01-01-autofilter.png "")
|
||||
|
||||
When an AutoFilter is applied to a range of cells, the first row in an autofilter range will be the heading row, which displays the autoFilter dropdown icons. It is not part of the actual autoFiltered data. All subsequent rows are the autoFiltered data. So an AutoFilter range should always contain the heading row and one or more data rows (one data row is pretty meaningless), but PHPExcel won't actually stop you specifying a meaningless range: it's up to you as the developer to avoid such errors.
|
||||
When an AutoFilter is applied to a range of cells, the first row in an autofilter range will be the heading row, which displays the autoFilter dropdown icons. It is not part of the actual autoFiltered data. All subsequent rows are the autoFiltered data. So an AutoFilter range should always contain the heading row and one or more data rows (one data row is pretty meaningless), but PHPExcel won't actually stop you specifying a meaningless range: it's up to you as a developer to avoid such errors.
|
||||
|
||||
To determine if a filter is applied, note the icon in the column heading. A drop-down arrow (![01-03-filter-icon-1.png](./images/01-03-filter-icon-1.png "")) means that filtering is enabled but not applied. In MS Excel, when you hover over the heading of a column with filtering enabled but not applied, a screen tip displays the cell text for the first row in that column, and the message "(Showing All)".
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# PHPExcel AutoFilter Reference
|
||||
# PHPExcel AutoFilter Reference
|
||||
|
||||
|
||||
## Setting an AutoFilter area on a worksheet
|
||||
|
@ -9,7 +9,7 @@ To set an autoFilter on a range of cells.
|
|||
$objPHPExcel->getActiveSheet()->setAutoFilter('A1:E20');
|
||||
```
|
||||
|
||||
The first row in an autofilter range will be the heading row, which displays the autoFilter dropdown icons. It is not part of the actual autoFiltered data. All subsequent rows are the autoFiltered data. So an AutoFilter range should always contain the heading row and one or more data rows (one data row is pretty meaningless, but PHPExcel won't actually stop you specifying a meaningless range: it's up to you as the developer to avoid such errors.
|
||||
The first row in an autofilter range will be the heading row, which displays the autoFilter dropdown icons. It is not part of the actual autoFiltered data. All subsequent rows are the autoFiltered data. So an AutoFilter range should always contain the heading row and one or more data rows (one data row is pretty meaningless, but PHPExcel won't actually stop you specifying a meaningless range: it's up to you as a developer to avoid such errors.
|
||||
|
||||
If you want to set the whole worksheet as an autofilter region
|
||||
|
||||
|
|
Loading…
Reference in New Issue