New to Telerik Document Processing? Start a free 30-day trial

Represents a dynamic filter based on relative date periods or statistical measures.

AboveAverage and BelowAverage cannot be evaluated row-by-row during BeginFiltering(SpreadAutoFilter) because they require knowledge of all values in the column. When these types are used, the filter rules are emitted to the output but no rows are hidden based on them. Date/time evaluation uses Today at the time BeginFiltering(SpreadAutoFilter) is active; timezone conversion is not performed.

Definition

Namespace:Telerik.Documents.SpreadsheetStreaming

Assembly:Telerik.Documents.SpreadsheetStreaming.dll

Syntax:

C#
public class SpreadDynamicFilter : ISpreadFilter

Inheritance: objectSpreadDynamicFilter

Implements: ISpreadFilter

Constructors

Initializes a new instance of the SpreadDynamicFilter class.

C#
public SpreadDynamicFilter(SpreadDynamicFilterType dynamicFilterType)
Parameters:dynamicFilterTypeSpreadDynamicFilterType

The type of dynamic filter.

Week filters (ThisWeek, LastWeek, NextWeek) use a Sunday-start week convention (consistent with DayOfWeek).

Quarter filters (Quarter1 through Quarter4) are year-agnostic: Quarter1 matches January–March in ANY year.

Properties

Gets the type of dynamic filter.

C#
public SpreadDynamicFilterType DynamicFilterType { get; }