FilterColumn
General
FilterColumn és una classe en Aspose.Cells per a Python.
Representa una columna de filtre en un filtre automàtic.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
col_id | `` | Read | Gets the identifier (index) of the column |
filters | `` | Read | Provides the collection of standard filter values applied |
custom_filters | `` | Read | Provides the collection of custom filter criteria |
color_filter | `` | Read | Represents a filter based on cell color |
dynamic_filter | `` | Read | Represents a dynamic filter such as date or text criteria |
top10_filter | `` | Read | Represents a filter that selects the top or bottom N items |
filter_button | `` | Read | Indicates whether the filter drop‑down button is shown for the column |
Mètodes
| Signature | Description |
|---|---|
__init__(col_id) | Initializes a new instance of the FilterColumn class. |
add_filter(value) | Adds a filter value to this column. |
add_custom_filter(operator, value) | Adds a custom filter criterion to this column. |
clear_filters() | Clears all filters from this column. |