custom method

custom

Filters a list with a custom criteria.

def custom(self, field_index, operator_type1, criteria1):
    ...
ParameterTypeDescription
field_indexintThe integer offset of the field on which you want to base the filter
(from the left of the list; the leftmost field is field 0).
operator_type1FilterOperatorTypeThe filter operator type
criteria1anyThe custom criteria

custom

Filters a list with custom criteria.

def custom(self, field_index, operator_type1, criteria1, is_and, operator_type2, criteria2):
    ...
ParameterTypeDescription
field_indexintThe integer offset of the field on which you want to base the filter
(from the left of the list; the leftmost field is field 0).
operator_type1FilterOperatorTypeThe filter operator type
criteria1anyThe custom criteria
is_andbool
operator_type2FilterOperatorTypeThe filter operator type
criteria2anyThe custom criteria

See Also