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 sorted column in AutoFilter by zero-based index and its sort order.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 7.2 | ✅ 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 | |
columnIndex | The zero based column index. | 0 | |
descending | Whether to sort descending. Pass 0 for ascending and 1 for descending. Default is descending. |
0 | Optional |
Returns OK or error.
Created 22nd April 2017, last changed 22nd April 2017
XL.Sheet.AutoFilter.SetRef - XL.Sheet.AutoFilter.SetTop10
Feedback: Report problem or ask question.