custom metod
Innehåll
[
Dölj
]custom(field_index, operator_type1, criteria1)
Filtrerar en lista med ett custom-kriterie.
def custom(self, field_index, operator_type1, criteria1):
...
Parameter | Typ | Beskrivning |
---|---|---|
field_index | int | Heltalsoffset för fältet som du vill basera filtret på (från vänster i listan; fältet längst till vänster är fält 0). |
operator_type1 | FilterOperatorType | Filteroperatortypen |
criteria1 | any | De anpassade kriterierna |
custom(field_index, operator_type1, criteria1, is_and, operator_type2, criteria2)
Filtrerar en lista med custom kriterier.
def custom(self, field_index, operator_type1, criteria1, is_and, operator_type2, criteria2):
...
Parameter | Typ | Beskrivning |
---|---|---|
field_index | int | Heltalsoffset för fältet som du vill basera filtret på (från vänster i listan; fältet längst till vänster är fält 0). |
operator_type1 | FilterOperatorType | Filteroperatortypen |
criteria1 | any | De anpassade kriterierna |
is_and | bool | |
operator_type2 | FilterOperatorType | Filteroperatortypen |
criteria2 | any | De anpassade kriterierna |
Se även
- modul aspose.cells
- klass AutoFilter