Aspose::Cells::AutoFilter::Filter method

AutoFilter::Filter(int32_t, const U16String&) method

Filters a list with specified criteria.

void Aspose::Cells::AutoFilter::Filter(int32_t fieldIndex, const U16String &criteria)
ParameterTypeDescription
fieldIndexint32_tThe 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).
criteriaconst U16String&The specified criteria (a string; for example, “101”).

Remarks

Aspose.Cells will remove all other filter setting on this field as Ms Excel 97-2003.

See Also

AutoFilter::Filter(int32_t, const char16_t*) method

Filters a list with specified criteria.

void Aspose::Cells::AutoFilter::Filter(int32_t fieldIndex, const char16_t *criteria)
ParameterTypeDescription
fieldIndexint32_tThe 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).
criteriaconst char16_t*The specified criteria (a string; for example, “101”).

Remarks

Aspose.Cells will remove all other filter setting on this field as Ms Excel 97-2003.

See Also