ASP.NET MVC Controls | ComponentOne
In This Topic
    FlexSheetConditionFilter Class
    In This Topic
    File
    wijmo.grid.sheet.js
    Module
    wijmo.grid.sheet
    Base Class
    ConditionFilter

    Defines a condition filter for a column on a FlexSheet control.

    Condition filters contain two conditions that may be combined using an 'and' or an 'or' operator.

    This class is used by the FlexSheetFilter class; you will rarely use it directly.

    Constructor

    Properties

    Methods

    Constructor

    constructor

    constructor(column: Column): FlexSheetConditionFilter
    

    Initializes a new instance of the ConditionFilter class.

    Parameters
    • column: Column

      The column to filter.

    Returns
    FlexSheetConditionFilter

    Properties

    and

    Gets a value that indicates whether to combine the two conditions with an AND or an OR operator.

    The default value for this property is **true**.

    Inherited From
    ConditionFilter
    Type
    boolean

    column

    Gets the Column to filter.

    Inherited From
    ConditionFilter
    Type
    Column

    condition1

    Gets the first condition in the filter.

    Inherited From
    ConditionFilter
    Type
    FilterCondition

    condition2

    Gets the second condition in the filter.

    Inherited From
    ConditionFilter
    Type
    FilterCondition

    dataMap

    Gets or sets the DataMap used to convert raw values into display values shown when editing this filter.

    Inherited From
    ConditionFilter
    Type
    DataMap

    isActive

    Gets a value that indicates whether the filter is active.

    The filter is active if at least one of the two conditions has its operator and value set to a valid combination.

    Inherited From
    ConditionFilter
    Type
    boolean

    Methods

    apply

    apply(value): boolean
    

    Returns a value indicating whether a value passes this filter.

    Parameters
    • value:

      The value to test.

    Returns
    boolean

    clear

    clear(): void
    

    Clears the filter.

    Inherited From
    ConditionFilter
    Returns
    void

    implementsInterface

    implementsInterface(interfaceName: string): boolean
    

    Returns true if this object supports a given interface.

    Parameters
    • interfaceName: string

      Name of the interface to look for.

    Inherited From
    ConditionFilter
    Returns
    boolean