custom方法
custom(field_index, operator_type1, criteria1)
使用 custom 条件过滤列表。
def custom(self, field_index, operator_type1, criteria1):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| field_index | int | 要作为过滤器基础的字段的整数偏移量
(从列表的左边开始;最左边的字段是字段 0)。 |
| operator_type1 | FilterOperatorType | 过滤器运算符类型 |
| criteria1 | any | 自定义条件 |
custom(field_index, operator_type1, criteria1, is_and, operator_type2, criteria2)
使用 custom 条件过滤列表。
def custom(self, field_index, operator_type1, criteria1, is_and, operator_type2, criteria2):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| field_index | int | 要作为过滤器基础的字段的整数偏移量
(从列表的左边开始;最左边的字段是字段 0)。 |
| operator_type1 | FilterOperatorType | 过滤器运算符类型 |
| criteria1 | any | 自定义条件 |
| is_and | bool | |
| operator_type2 | FilterOperatorType | 过滤器运算符类型 |
| criteria2 | any | 自定义条件 |
也可以看看
- 模块 aspose.cells
- 类 AutoFilter