Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Sets the custom filter criteria.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 7.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref | |
sheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 | |
FilterColumnIndex | The column index of the filter. Range from 0 to XL.Sheet.AutoFilter.ColumnSize-1. |
$FilterColumn | |
Operator1 | The operator used by the filter comparison in the first filter criteria. Can be =, ≠, <, ≤, > or ≥ |
"=" | |
Value1 | value used in the first filter criteria | 10 | |
Operator2 | The operator used by the filter comparison in the second filter criteria. Can be =, ≠, <, ≤, > or ≥ |
"=" | Optional |
Value2 | The value used in the second filter criteria. | "20" | Optional |
AndOperator | Flag indicating whether the two criterias have an "and" relationship. Pass "And" or "Or". |
"And" | Optional |
Returns OK or error.
Created 1st July 2017, last changed 1st July 2017
XL.Sheet.AutoFilter.GetTop10 - XL.Sheet.AutoFilter.SetRef
Feedback: Report problem or ask question.