custom méthode

custom(field_index, operator_type1, criteria1)

Filtre une liste avec un critère custom.

def custom(self, field_index, operator_type1, criteria1):
    ...
Paramètre Taper Description
field_index int Le décalage entier du champ sur lequel vous souhaitez baser le filtre
(à partir de la gauche de la liste ; le champ le plus à gauche est le champ 0).
operator_type1 FilterOperatorType Le type d’opérateur de filtre
criteria1 any Les critères personnalisés

custom(field_index, operator_type1, criteria1, is_and, operator_type2, criteria2)

Filtre une liste avec custom critères.

def custom(self, field_index, operator_type1, criteria1, is_and, operator_type2, criteria2):
    ...
Paramètre Taper Description
field_index int Le décalage entier du champ sur lequel vous souhaitez baser le filtre
(à partir de la gauche de la liste ; le champ le plus à gauche est le champ 0).
operator_type1 FilterOperatorType Le type d’opérateur de filtre
criteria1 any Les critères personnalisés
is_and bool
operator_type2 FilterOperatorType Le type d’opérateur de filtre
criteria2 any Les critères personnalisés

Voir également