Skip to content

Class: FilterSelection

Define the filter selection containing the value to be used in filter string

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Currently none inherited from the parent class(es).

Accessors

Class Accessors

Inherited Accessors

Currently none inherited from the parent class(es).

Methods

Class Methods

Inherited Methods

Currently none inherited from the parent class(es).

Constructors

Constructor

+ new FilterSelection(type: FilterType, name: string, values: object[]): FilterSelection

Parameters:

Name Type
type FilterType
name string
values object[]

Returns: FilterSelection

Accessors

isComplexQuery

Get Signature

getter

Returns

boolean

return the complex query flag

Set Signature

setter

Parameters
isComplexQuery

boolean

the flag to set whether the selection is a complex query

Returns

void


name

Get Signature

getter

Returns

string

return the name of the criteria

Set Signature

setter

Parameters
name

string

the name of the control to apply the selection

Returns

void


queryOperator

Get Signature

getter

Returns

QueryOperator | undefined

return the query operator

Set Signature

setter

Parameters
queryOperator

string

the query operator to set for the selection

Returns

void


queryProperty

Get Signature

getter

Returns

string | undefined

return the query property

Set Signature

setter

Parameters
queryProperty

string

the query property to set for the selection

Returns

void


type

Get Signature

getter

Returns

FilterType

return the type of the criteria

Set Signature

setter

Parameters
type

FilterType

the type of the control to apply the selection

Returns

void


values

Get Signature

getter

Returns

object[]

return the list of all filter values

Set Signature

setter

Parameters
values

object[]

the list of values to set for the selection

Returns

void

Methods

isFilter

isFilter(): boolean

Returns: boolean

return true if it is a filter, Otherwise return false


isSorter

isSorter(): boolean

Returns: boolean

return true if it is a sorter, Otherwise return false