FilterColumn

General

FilterColumn és una classe en Aspose.Cells per a Python.

Representa una columna de filtre en un filtre automàtic.

Propietats

NameTypeAccessDescription
col_id``ReadGets the identifier (index) of the column
filters``ReadProvides the collection of standard filter values applied
custom_filters``ReadProvides the collection of custom filter criteria
color_filter``ReadRepresents a filter based on cell color
dynamic_filter``ReadRepresents a dynamic filter such as date or text criteria
top10_filter``ReadRepresents a filter that selects the top or bottom N items
filter_button``ReadIndicates whether the filter drop‑down button is shown for the column

Mètodes

SignatureDescription
__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.
 Català